Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

TMenuItem

Structure to describe a menu item

Declaration

Source position: intuition.pas line 72

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;

See also

TMenu

  

Structure to describe a menu

ItemAddress

  

Returns the address of the specified MenuItem.


Documentation generated on: 2021-07-30