IMEMENUITEMINFOW structure
Contains information about Active Input Method Editor (IME) menu items.
Syntax
typedef struct { UINT cbSize; UINT fType; UINT fState; UINT wID; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; WCHAR szString[IMEMENUITEM_STRING_SIZE]; HBITMAP hbmpItem; } IMEMENUITEMINFOW;
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.
-
Displays checked menu items using a radio button mark instead of a check mark if the hbmpChecked member is NULL.
-
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.
-
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.
-
The menu item is checked.
-
The menu item is the default. A menu can contain only one default menu item, which is displayed in bold.
-
The menu item is disabled, but not shaded. It can still be selected.
-
The menu items is enabled. This is the default state.
-
The menu item is disabled and shaded so it cannot be selected.
-
The menu item is highlighted.
-
The menu item is unchecked.
-
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 wide characters that contains the content of the menu item. This is a null-terminated string.
- hbmpItem
-
Handle to the bitmap to display.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
IDL |
|