#include <window.h>


Public Types | |
| typedef OwnerdrawnButton | super |
Public Member Functions | |
| PictureButton (HWND hwnd, HICON hIcon, HBRUSH hbrush=GetSysColorBrush(COLOR_BTNFACE), bool flat=false) | |
| PictureButton (HWND hparent, int id, HICON hIcon, HBRUSH hbrush=GetSysColorBrush(COLOR_BTNFACE), bool flat=false) | |
| PictureButton (HWND hwnd, HBITMAP hBmp, HBRUSH hbrush=GetSysColorBrush(COLOR_BTNFACE), bool flat=false) | |
| PictureButton (HWND hparent, int id, HBITMAP hBmp, HBRUSH hbrush=GetSysColorBrush(COLOR_BTNFACE), bool flat=false) | |
Protected Member Functions | |
| virtual void | DrawItem (LPDRAWITEMSTRUCT dis) |
Protected Attributes | |
| HICON | _hIcon |
| HBITMAP | _hBmp |
| HBRUSH | _hBrush |
| int | _cx |
| int | _cy |
| bool | _flat |
The buttons should have set the style bit BS_OWNERDRAW. The owning window should use the OwnerDrawParent template to route owner draw messages to the buttons.
Definition at line 699 of file window.h.
| typedef OwnerdrawnButton PictureButton::super |
| PictureButton::PictureButton | ( | HWND | hwnd, | |
| HICON | hIcon, | |||
| HBRUSH | hbrush = GetSysColorBrush(COLOR_BTNFACE), |
|||
| bool | flat = false | |||
| ) | [inline] |
| PictureButton::PictureButton | ( | HWND | hparent, | |
| int | id, | |||
| HICON | hIcon, | |||
| HBRUSH | hbrush = GetSysColorBrush(COLOR_BTNFACE), |
|||
| bool | flat = false | |||
| ) | [inline] |
| PictureButton::PictureButton | ( | HWND | hwnd, | |
| HBITMAP | hBmp, | |||
| HBRUSH | hbrush = GetSysColorBrush(COLOR_BTNFACE), |
|||
| bool | flat = false | |||
| ) | [inline] |
| PictureButton::PictureButton | ( | HWND | hparent, | |
| int | id, | |||
| HBITMAP | hBmp, | |||
| HBRUSH | hbrush = GetSysColorBrush(COLOR_BTNFACE), |
|||
| bool | flat = false | |||
| ) | [inline] |
| virtual void PictureButton::DrawItem | ( | LPDRAWITEMSTRUCT | dis | ) | [protected, virtual] |
Implements OwnerdrawnButton.
HICON PictureButton::_hIcon [protected] |
HBITMAP PictureButton::_hBmp [protected] |
HBRUSH PictureButton::_hBrush [protected] |
int PictureButton::_cx [protected] |
int PictureButton::_cy [protected] |
bool PictureButton::_flat [protected] |
|
IBrowser Source Code Documentation
generated on 18.09.2008 by
|