OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/menu.h>
Public Member Functions | |
TMenuItemInfo (uint msk=0) | |
TMenuItemInfo (TMenu &menu, uint posOrId, bool isPos, uint msk=MIIM_CHECKMARKS|MIIM_DATA|MIIM_ID|MIIM_STATE|MIIM_SUBMENU) | |
Construct MENUITEMINFO from a specific item of a menu object. | |
TMenuItemInfo (TMenu &menu, uint posOrId, bool isPos, void *buffer, uint size, uint msk=MIIM_ALL) | |
Construct MENUITEMINFO from a specific item of a menu object. | |
owl::TMenuItemInfo::TMenuItemInfo | ( | TMenu & | menu, |
uint | posOrId, | ||
bool | isPos, | ||
uint | msk = MIIM_CHECKMARKS|MIIM_DATA| MIIM_ID|MIIM_STATE|MIIM_SUBMENU ) |
Construct MENUITEMINFO from a specific item of a menu object.
Defaults to retrieving all information except for the type, which require a destination buffer.
Definition at line 38 of file menu.cpp.
References owl::TMenu::GetHandle(), owl::TMenu::GetMenuItemInfo(), and PRECONDITION.
owl::TMenuItemInfo::TMenuItemInfo | ( | TMenu & | menu, |
uint | posOrId, | ||
bool | isPos, | ||
void * | buffer, | ||
uint | size, | ||
uint | msk = MIIM_ALL ) |
Construct MENUITEMINFO from a specific item of a menu object.
Similar to prior except that it also retrieves the type data.
Definition at line 50 of file menu.cpp.
References owl::TMenu::GetHandle(), owl::TMenu::GetMenuItemInfo(), and PRECONDITION.