MENUINFO class base struct

Contains information about a menu.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/ns-winuser-menuinfo.

Inheritance
Implemented types
Available extensions

Constructors

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
cbSize int
The size of the struct in bytes.
getter/setter pair
cyMax int
The maximum height of the menu in pixels.
getter/setter pair
dwContextHelpID int
The context help identifier.
getter/setter pair
dwMenuData int
An application-defined value.
getter/setter pair
dwStyle MENUINFO_STYLE
getter/setter pair
fMask MENUINFO_MASK
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hbrBack HBRUSH
A handle to the brush to be used for the menu's background.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) Pointer<MENUINFO>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited