OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TMenuItemInfo Class Reference

#include <owl/menu.h>

Inheritance diagram for owl::TMenuItemInfo:

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.
 

Detailed Description

Definition at line 46 of file menu.h.

Constructor & Destructor Documentation

◆ TMenuItemInfo() [1/3]

owl::TMenuItemInfo::TMenuItemInfo ( uint msk = 0)

Definition at line 28 of file menu.cpp.

◆ TMenuItemInfo() [2/3]

owl::TMenuItemInfo::TMenuItemInfo ( TMenu & menu,
uint posOrId,
bool isPos,
uint msk = MIIM_CHECKMARKS|MIIM_DATAMIIM_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.

◆ TMenuItemInfo() [3/3]

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.


The documentation for this class was generated from the following files: