Contains information about IME menu items.
Syntax
typedef struct{ UINT cbSize; UINT fType; UINT fState; UINT wID; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; CHAR szString[IMEMENUITEM_STRING_SIZE]; HBITMAP hbmpItem; } IMEMENUITEMINFOA;
Members
- cbSize
- Unsigned integer that contains the size of the structure in bytes.
- fType
- Unsigned integer that contains the menu type. This can be one of the following values:
- IMFT_RADIOCHECK
- Displays checked menu items using a radio button mark instead of a check mark if the hbmpChecked member is NULL.
- IMFT_SEPARATOR
- Specifies that the menu item is a separator. A menu item separator appears as a horizontal dividing line. The hbmpItem and szString members are ignored in this case.
- IMFT_SUBMENU
- Specifies that the menu item is a submenu.
- fState
- Unsigned integer that contains the menu item state. This can be one or more of the following values:
- IMFS_CHECKED
- The menu item is checked.
- IMFS_DEFAULT
- The menu item is the default. A menu can contain only one default menu item, which is displayed in bold.
- IMFS_DISABLED
- The menu item is disabled, but not shaded. It can still be selected.
- IMFS_ENABLED
- The menu item is enabled. This is the default state.
- IMFS_GRAYED
- The menu item is disabled and shaded so it cannot be selected.
- IMFS_HILITE
- The menu item is highlighted.
- IMFS_UNCHECKED
- The menu item is unchecked.
- IMFS_UNHILITE
- The menu item is not highlighted.
- wID
- Unsigned integer value that contains an application-defined value that identifies the menu item.
- hbmpChecked
- Handle to the bitmap. If this member is NULL, no bitmap is used.
- hbmpUnchecked
- Handle to the bitmap. If this member is NULL, no bitmap is used.
- dwItemData
- Unsigned long integer value that contains an application-defined value associated with the menu item.
- szString
- Array of characters that contains the content of the menu item. This is a null-terminated string.
- hbmpItem
- Handle to the bitmap to display.
Remarks
This structure maps to the IMEMENUINFO structure documented in the Microsoft® Platform Software Development Kit (SDK).
Structure Information
Windows NT Use version 4.0. Implemented as an ANSI structure. Windows Use Windows 95 and later. Implemented as an ANSI structure. Header Dimm.h Minimum availability Internet Explorer 5