Structure to describe a menu item
Source position: intuition.pas line 74
type TMenuItem = record |
||
NextItem: PMenuItem; |
|
Pointer to next in chained list |
LeftEdge: SmallInt; |
|
Left position of the select box |
TopEdge: SmallInt; |
|
Top position of the select box |
Width: SmallInt; |
|
Width of the select box |
Height: SmallInt; |
|
Height of the select box |
Flags: Word; |
|
Flags for the item (e.g. Checked, ISDRAWN, HIGHITEM, ITEMENABLED, MENUTOGGLE, COMMSEQ, ITEMTEXT, CHECKIT) |
MutualExclude: LongInt; |
|
Set bits mean this item excludes that |
ItemFill: Pointer; |
|
PImage, PIntuiText or nil |
SelectFill: Pointer; |
|
PImage, PIntuiText or nil when this item is pointed to by the cursor and the items highlight mode HIGHIMAGE is selected, this alternate image will be displayed. |
Command: Char; |
|
Only if application sets the COMMSEQ flag |
SubItem: PMenuItem; |
|
If non-nil, DrawMenu shows "->" |
NextSelect: Word; |
|
The NextSelect field represents the menu number of next selected item (when user has drag-selected several items) |
end; |
|
Structure to describe a menu |
|
|
Returns the address of the specified MenuItem. |