ReactOS 0.4.16-dev-401-g45b008d
|
#include <window.h>
Public Types | |
typedef Window | super |
Public Types inherited from Window | |
typedef map< HWND, Window * > | WindowMap |
typedef Window *(* | CREATORFUNC) (HWND) |
typedef Window *(* | CREATORFUNC_INFO) (HWND, const void *) |
Public Member Functions | |
SubclassedWindow (HWND) | |
Public Member Functions inherited from Window | |
Window (HWND hwnd) | |
virtual | ~Window () |
LRESULT | SendParent (UINT nmsg, WPARAM wparam=0, LPARAM lparam=0) |
LRESULT | PostParent (UINT nmsg, WPARAM wparam=0, LPARAM lparam=0) |
Window (INT cx, INT cy, BOOL fAutoHide=FALSE) | |
virtual | ~Window () |
virtual LRESULT CALLBACK | WindowProcDx (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
void | DoAction () |
Static Protected Member Functions | |
static LRESULT CALLBACK | SubclassedWndProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam) |
Static Protected Member Functions inherited from Window | |
static Window * | create_controller (HWND hwnd) |
create controller for a new window | |
static StaticWindowData & | GetStaticWindowData () |
static LRESULT CALLBACK | MDICBTHookProc (int code, WPARAM wparam, LPARAM lparam) |
static LRESULT CALLBACK | PropSheetCBTHookProc (int code, WPARAM wparam, LPARAM lparam) |
Protected Attributes | |
WNDPROC | _orgWndProc |
Protected Attributes inherited from Window | |
HWND | m_hwnd |
BOOL | m_fAutoHide |
BOOL | m_fOnTop |
BOOL | m_fHiding |
UINT | m_uSide |
LONG | m_cxWidth |
LONG | m_cyHeight |
LONG | m_cxSave |
LONG | m_cySave |
BOOL | m_fAppBarRegd |
BOOL | m_fMoving |
BOOL | m_bDragged |
POINT | m_ptDragOn |
RECT | m_rcAppBar |
RECT | m_rcDrag |
SubclassedWindow is used to wrap already existing window handles into C++ Window objects. To construct a object, use the "new" operator to put it in the heap. It is automatically freed, when the window gets destroyed.
typedef Window SubclassedWindow::super |
SubclassedWindow::SubclassedWindow | ( | HWND | hwnd | ) |
Definition at line 301 of file window.cpp.
Reimplemented from Window.
Reimplemented in DesktopShellView, and QuickLaunchBar.
Definition at line 348 of file window.cpp.
Referenced by SubclassedWndProc().
Reimplemented from Window.
Reimplemented in DesktopShellView, Pane, and QuickLaunchBar.
Definition at line 353 of file window.cpp.
Referenced by Pane::Notify(), and SubclassedWndProc().
|
staticprotected |
Definition at line 310 of file window.cpp.
Referenced by SubclassedWindow().
Reimplemented from Window.
Reimplemented in BackgroundWindow, DesktopShellView, Pane, StartButton, QuickLaunchBar, StartMenuButton, ExtContextMenuHandlerT< SubclassedWindow >, OwnerdrawnButton, FlatButton, ColorStatic, HyperlinkCtrl, and EditController.
Definition at line 343 of file window.cpp.
Referenced by SubclassedWndProc(), BackgroundWindow::WndProc(), Pane::WndProc(), OwnerdrawnButton::WndProc(), ColorStatic::WndProc(), HyperlinkCtrl::WndProc(), and EditController::WndProc().
|
protected |
Definition at line 183 of file window.h.
Referenced by Notify(), SubclassedWindow(), SubclassedWndProc(), and WndProc().