sprint 1-alpha
|
Menu object. More...
#include <Menu.h>
Public Member Functions | |
CMenuT (HMENU hmenu=NULL) | |
bool | Check (int id, bool status) |
Check (BY COMMAND) | |
CMenuT< t_bManaged > & | operator= (HMENU hMenu) |
void | Attach (HMENU hMenuNew) |
HMENU | Detach () |
operator HMENU () const | |
bool | IsNull () const |
BOOL | IsMenu () const |
BOOL | CreateMenu () |
BOOL | CreatePopupMenu () |
BOOL | LoadMenuIndirect (const void *lpMenuTemplate) |
BOOL | DestroyMenu () |
BOOL | DeleteMenu (UINT nPosition, UINT nFlags) |
UINT | CheckMenuItem (UINT nIDCheckItem, UINT nCheck) |
UINT | EnableMenuItem (UINT nIDEnableItem, UINT nEnable) |
nEnable è una bitmask | |
CMenuHandle | GetSubMenu (int index) |
bool | InsertItem (UINT uItem, bool fByPosition, const MENUITEMINFO &mii) |
bool | Append (UINT uFlags, UINT_PTR uIDNewItem, LPCTSTR lpNewItem) |
bool | Add (CMenuHandle handle, LPCTSTR lpNewItem) |
Add a submenu to menu. | |
bool | AddSeparator () |
bool | Add (int uIDNewItem, LPCTSTR lpNewItem) |
Add a SubItem to menu. |
Menu object.