Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

StartMenuButton Struct Reference

StartMenuButton draws the face of a StartMenuCtrl button control. More...

#include <startmenu.h>

Inheritance diagram for StartMenuButton:
Inheritance graph
[legend]
Collaboration diagram for StartMenuButton:
Collaboration graph
[legend]

List of all members.

Public Types

typedef OwnerdrawnButton super

Public Member Functions

 StartMenuButton (HWND hwnd, ICON_ID icon_id, bool hasSubmenu)

Protected Member Functions

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

Protected Attributes

ICON_ID _icon_id
bool _hasSubmenu

Detailed Description

StartMenuButton draws the face of a StartMenuCtrl button control.

Definition at line 90 of file startmenu.h.


Member Typedef Documentation

Reimplemented from OwnerdrawnButton.

Definition at line 92 of file startmenu.h.


Constructor & Destructor Documentation

StartMenuButton::StartMenuButton ( HWND  hwnd,
ICON_ID  icon_id,
bool  hasSubmenu 
) [inline]

Definition at line 94 of file startmenu.h.

     :  super(hwnd), _hIcon(hIcon), _hasSubmenu(hasSubmenu) {}

Member Function Documentation

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

Implements OwnerdrawnButton.

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

Reimplemented from OwnerdrawnButton.


Member Data Documentation

bool StartMenuButton::_hasSubmenu [protected]

Definition at line 102 of file startmenu.h.

Definition at line 101 of file startmenu.h.


The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage