wGui::SMenuItem Struct Reference

The structure used to represent menu items. More...

#include <wg_menu.h>

Public Member Functions

Data Fields


Detailed Description

The structure used to represent menu items.

Definition at line 45 of file wg_menu.h.


Constructor & Destructor Documentation

wGui::SMenuItem::SMenuItem ( std::wstring  sItemText,
long int  iItemId = 0,
CPopupMenu pPopup = 0 
) [inline]

Constructs a new Menu Item

Parameters:
sItemText The text to display for the menu item
iItemId An identifier for the menu item, which gets returned in the CTRL_SINGLELCLICK message
pPopup A pointer to a popup menu, if the menu item is actually a submenu, this should be 0 if the item isn't a submenu (defaults to 0)

Definition at line 52 of file wg_menu.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 16 23:11:27 2007 for wGui by  doxygen 1.5.1