Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

_MENUITEMINFO Struct Reference
[Menu operations]

#include <window.h>

Data Fields


Detailed Description

Structure defines a menu item

Definition at line 5897 of file window.h.


Field Documentation

UINT cch
 

Used by GetMenuItemInfo function to indicate the maximal length of the string

Definition at line 5970 of file window.h.

PBITMAP checkedbmp
 

The pointer to a BITMAP object used for checked bitmap menu item

Definition at line 5957 of file window.h.

HMENU hsubmenu
 

The handle to the sub-menu if this menu contains a sub menu

Definition at line 5951 of file window.h.

int id
 

The identifier of the menu item

Definition at line 5948 of file window.h.

DWORD itemdata
 

The private data attached to the menu item

Definition at line 5961 of file window.h.

UINT mask
 

Used by GetMenuItemInfo and SetMenuItemInfo functions, can be OR'ed with the following values:

  • MIIM_STATE
    Get/set the state of the menu item.
  • MIIM_ID
    Get/set the identifier of the menu item.
  • MIIM_SUBMENU
    Get/set the sub-menu of the menu item.
  • MIIM_CHECKMARKS
    Get/set the check/uncheck bitmap.
  • MIIM_TYPE
    Get/set the type and the type data of the menu item.
  • MIIM_DATA
    Get/set the item data of the menu item.

Definition at line 5915 of file window.h.

UINT state
 

State of the menu item, can be one of the following values:

  • MFS_GRAYED
    The menu item is disabled.
  • MFS_DISABLED
    The menu item is disabled.
  • MFS_CHECKED
    The menu item is checked.
  • MFS_ENABLED
    The menu item is enabled.
  • MFS_UNCHECKED
    The menu item is unchecked.

Definition at line 5945 of file window.h.

UINT type
 

Type of menu item, can be one of the following values:

  • MFT_STRING
    A normal string menu item.
  • MFT_BITMAP
    A bitmap menu item.
  • MFT_BMPSTRING
    A bitmap menu item followed by a string.
  • MFT_SEPARATOR A separator in menu.
  • MFT_RADIOCHECK
    A normal string with a radio check mark.

Definition at line 5930 of file window.h.

DWORD typedata
 

The data of this menu item, used to pass the string of the menu item

Definition at line 5964 of file window.h.

PBITMAP uncheckedbmp
 

The pointer to a BITMAP object used for unchecked/highlited bitmap menu item

Definition at line 5954 of file window.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2