|
MenuItemTypes Enumeration |
Namespace: Xcalibur.NativeMethods.V2.MenusAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [FlagsAttribute]
public enum MenuItemTypes
<FlagsAttribute>
Public Enumeration MenuItemTypes
[FlagsAttribute]
public enum class MenuItemTypes
[<FlagsAttribute>]
type MenuItemTypes
Members Member name | Value | Description |
---|
String | 0 |
Displays the menu item using a text string. The dwTypeData member is the pointer to a
null-terminated string, and the cch member is the length of the string.
String is replaced by .
|
Bitmap | 4 |
Displays the menu item using a bitmap. The low-order word of the dwTypeData member is the
bitmap handle, and the cch member is ignored.
Bitmap is replaced by and
.
|
MenubarBreak | 32 |
Places the menu item on a new line (for a menu bar) or in a new column (for a drop-down
menu, submenu, or shortcut menu). For a drop-down menu, submenu, or shortcut menu, a
vertical line separates the new column from the old.
|
MenuBreak | 64 |
Places the menu item on a new line (for a menu bar) or in a new column (for a drop-down
menu, submenu, or shortcut menu). For a drop-down menu, submenu, or shortcut menu, the
columns are not separated by a vertical line.
|
OwnerDraw | 256 |
Assigns responsibility for drawing the menu item to the window that owns the menu. The
window receives a WM_MEASUREITEM message before the menu is displayed for the first time,
and a WM_DRAWITEM message whenever the appearance of the menu item must be updated. If
this value is specified, the member contains an
application-defined value.
|
RadioCheck | 512 |
Displays selected menu items using a radio-button mark instead of a check mark if the
member is NULL.
|
Separator | 2,048 |
Specifies that the menu item is a separator. A menu item separator appears as a horizontal
dividing line. The and
members are ignored. This value is valid only in a
drop-down menu, submenu, or shortcut menu.
|
RightOrder | 8,192 |
Specifies that menus cascade right-to-left (the default is left-to-right). This is used to
support right-to-left languages, such as Arabic and Hebrew.
|
RightJustify | 16,384 |
Right-justifies the menu item and any subsequent items. This value is valid only if the
menu item is in a menu bar.
|
See Also