OwnerdrawnButton Struct Reference

Subclass button controls to draw them by using PM_DISPATCH_DRAWITEM The owning window should use the OwnerDrawParent template to route owner draw messages to the buttons. More...

#include <window.h>

Inheritance diagram for OwnerdrawnButton:

Inheritance graph
[legend]
Collaboration diagram for OwnerdrawnButton:

Collaboration graph
[legend]

Public Types

typedef SubclassedWindow super

Public Member Functions

 OwnerdrawnButton (HWND hwnd)

Protected Member Functions

LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
virtual void DrawItem (LPDRAWITEMSTRUCT dis)=0

Detailed Description

Subclass button controls to draw them by using PM_DISPATCH_DRAWITEM The owning window should use the OwnerDrawParent template to route owner draw messages to the buttons.

Definition at line 638 of file window.h.


Member Typedef Documentation

typedef SubclassedWindow OwnerdrawnButton::super

Reimplemented from SubclassedWindow.

Reimplemented in FlatButton, and PictureButton.

Definition at line 640 of file window.h.


Constructor & Destructor Documentation

OwnerdrawnButton::OwnerdrawnButton ( HWND  hwnd  )  [inline]

Definition at line 642 of file window.h.

00643      :  super(hwnd) {}


Member Function Documentation

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

Reimplemented from SubclassedWindow.

Reimplemented in FlatButton.

virtual void OwnerdrawnButton::DrawItem ( LPDRAWITEMSTRUCT  dis  )  [protected, pure virtual]

Implemented in FlatButton, and PictureButton.


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

Homepage