These menu item styles are available:
MIS_SUBMENU
The item is a submenu. When the user
selects this type of item, a submenu is displayed from which the user must
make further selection. Items that are not submenu items are command items.
MIS_SEPARATOR
The display
object is a horizontal dividing line. This type of item can only be used
in pull-down menus. This type of item cannot be enabled, checked, disabled,
highlighted, or selected by the user. The functional object is NULL when
this style is specified.
MIS_BITMAP
The
display object is a bit map.
MIS_TEXT
The
display object is a text string.
MIS_BUTTONSEPARATOR
The item is a menu button. Any menu can have zero,
one, or two items of this type. These are the last items in a menu and
are automatically displayed after a separator bar. The user cannot move
the cursor to these items, but can select them with the pointing device
or with the appropriate key.
MIS_BREAK
The
item begins a new row or column.
MIS_BREAKSEPARATOR
Same as MIS_BREAK, except that it draws a separator
between rows or columns of a pull-down menu. This style can only be used
within a submenu.
MIS_SYSCOMMAND
If
this item is selected, the menu notifies the owner by posting a WM_SYSCOMMAND
message rather than a WM_COMMAND message.
MIS_OWNERDRAW
Items with
this style are drawn by the owner. WM_DRAWITEM
and WM_MEASUREITEM notification
messages are sent to the owner to draw the item or determine its size.
MIS_HELP
If the item is selected, the menu notifies the owner
by posting a WM_HELP message rather than
a WM_COMMAND message.
MIS_STATIC
This type of item exists for information purposes
only. It cannot be selected with the pointing device or keyboard.
[Back]
[Next]