X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7e5ba8f2d676583c790c59388eba8bfa9bd33c2..54aa3821fc7c1df012efc5e5dd4a09ab5ed8d90d:/include/wx/msw/toplevel.h diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index f94199319d..cc6e916466 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -70,6 +70,11 @@ public: // button from the title bar bool EnableCloseButton(bool enable = true); + // Set window transparency if the platform supports it + virtual bool SetTransparent(wxByte alpha); + virtual bool CanSetTransparent(); + + // implementation from now on // -------------------------- @@ -89,7 +94,7 @@ public: #if defined(__SMARTPHONE__) || defined(__POCKETPC__) // Soft Input Panel (SIP) change notification - bool HandleSettingChange(WXWPARAM wParam, WXLPARAM lParam); + virtual bool HandleSettingChange(WXWPARAM wParam, WXLPARAM lParam); #endif // translate wxWidgets flags to Windows ones @@ -98,6 +103,9 @@ public: // choose the right parent to use with CreateWindow() virtual WXHWND MSWGetParent() const; + // return true if the message was preprocessed and shouldn't be dispatched + virtual bool MSWProcessMessage(WXMSG* pMsg); + // window proc for the frames WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam);