SubclassedWindow Struct Reference

SubclassedWindow is used to wrap already existing window handles into C++ Window objects. More...

#include <window.h>

Inheritance diagram for SubclassedWindow:

Inheritance graph
[legend]
Collaboration diagram for SubclassedWindow:

Collaboration graph
[legend]

Public Types

typedef Window super

Public Member Functions

 SubclassedWindow (HWND)

Protected Member Functions

virtual LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
virtual int Command (int id, int code)
virtual int Notify (int id, NMHDR *pnmh)

Static Protected Member Functions

static LRESULT CALLBACK SubclassedWndProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)

Protected Attributes

WNDPROC _orgWndProc

Detailed Description

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.

Definition at line 168 of file window.h.


Member Typedef Documentation

typedef Window SubclassedWindow::super

Reimplemented in OwnerdrawnButton, FlatButton, PictureButton, ColorStatic, HyperlinkCtrl, and EditController.

Definition at line 170 of file window.h.


Constructor & Destructor Documentation

SubclassedWindow::SubclassedWindow ( HWND   ) 


Member Function Documentation

static LRESULT CALLBACK SubclassedWindow::SubclassedWndProc ( HWND  hwnd,
UINT  nmsg,
WPARAM  wparam,
LPARAM  lparam 
) [static, protected]

virtual LRESULT SubclassedWindow::WndProc ( UINT  nmsg,
WPARAM  wparam,
LPARAM  lparam 
) [protected, virtual]

Reimplemented from Window.

Reimplemented in OwnerdrawnButton, FlatButton, ColorStatic, HyperlinkCtrl, and EditController.

Referenced by ColorStatic::WndProc().

Here is the caller graph for this function:

virtual int SubclassedWindow::Command ( int  id,
int  code 
) [protected, virtual]

Reimplemented from Window.

virtual int SubclassedWindow::Notify ( int  id,
NMHDR *  pnmh 
) [protected, virtual]

Reimplemented from Window.


Field Documentation

WNDPROC SubclassedWindow::_orgWndProc [protected]

Definition at line 175 of file window.h.


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage