ReactOS
0.4.15-dev-4872-g8a3db97
|
#include <window.h>
Public Types | |
typedef Window | super |
![]() | |
typedef map< HWND, Window * > | WindowMap |
typedef Window *(* | CREATORFUNC) (HWND) |
typedef Window *(* | CREATORFUNC_INFO) (HWND, const void *) |
Public Member Functions | |
SubclassedWindow (HWND) | |
![]() | |
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 Window * | create_controller (HWND hwnd) |
create controller for a new window More... | |
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 |
![]() | |
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 DesktopShellView::Command(), and SubclassedWndProc().
Reimplemented from Window.
Reimplemented in DesktopShellView, Pane, and QuickLaunchBar.
Definition at line 353 of file window.cpp.
Referenced by QuickLaunchBar::Notify(), Pane::Notify(), DesktopShellView::Notify(), and SubclassedWndProc().
|
staticprotected |
Definition at line 310 of file window.cpp.
Referenced by SubclassedWindow().
Reimplemented from Window.
Reimplemented in ExtContextMenuHandlerT< SubclassedWindow >, EditController, HyperlinkCtrl, ColorStatic, FlatButton, OwnerdrawnButton, DesktopShellView, StartButton, Pane, StartMenuButton, QuickLaunchBar, and BackgroundWindow.
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().