public struct MenuItemInfo
Public Structure MenuItemInfo
Dim instance As MenuItemInfo
public value class MenuItemInfo
[<SealedAttribute>]
type MenuItemInfo =
struct
inherit ValueType
end
No code example is currently available or this language may not be supported.
MenuItemInfo | Initializes a new instance of the MenuItemInfo structure. |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
BmpChecked | A handle to the bitmap to display next to the item if it is selected. If this member is Zero, a default bitmap is used. If the RadioCheck type value is specified, the default bitmap is a bullet, Otherwise it is a check mark. Set Mask to CheckMarks to use BmpChecked. |
BmpItem | A handle to the bitmap to be displayed. It is used when the Bitmap flag is set in the Mask member. |
BmpUnchecked | A handle to the bitmap to display next to the item if it is not selected. If this member is Zero, no bitmap is used. Set Mask to CheckMarks to use BmpUnchecked. |
Id | An application-defined value that identifies the menu item. Set Mask to Id to use Id. |
ItemData | An application-defined value associated with the menu item. Set Mask to Data to use ItemData. |
Mask | The members to be retrieved or set. This member can be one or more of the MenuMask Enum values. |
SizeOfStruct | The size of the structure, in bytes. This member must be set to Marshal.SizeOf(Of MenuItemInfo) before calling any function. |
State | The menu item state. . Set Mask to State to use State. |
SubMenu | A handle to the drop-down menu or submenu associated with the menu item. If the menu item is not an item that opens a drop-down menu or submenu, this member is Zero. Set Mask to Submenu to use SubMenu. |
TextLen | The length of the menu item text, in characters, when information is received about a menu item of the "Text type. However, TextLen is used only if the Type flag is set in the Mask member and is zero otherwise. Also, TextLen is ignored when the content of a menu item is set by calling SetMenuItemInfo(IntPtr, UInt32, Boolean, MenuItemInfo) function. The TextLen member is used when the Text flag is set in the Mask member. |
Type | The menu item type. |
TypeData | The contents of the menu item. The meaning of this member depends on the value of fType, and is used only if the Type flag is set in the Mask member. |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |