Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

tMenu

Structure to describe a menu

Declaration

Source position: intuition.pas line 176

type tMenu = record

  NextMenu: pMenu;

  

Next Menu on the same level

  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 menu (MENUENABLED, MIDRAWN)

  MenuName: PChar;

  

Text for this Menu Header

  FirstItem: pMenuItem;

  

Pointer to first menu item in chain

  JazzX: SmallInt;

  

  JazzY: SmallInt;

  

  BeatX: SmallInt;

  

  BeatY: SmallInt;

  

end;

See also

TWindow

  

Window structure

ItemAddress

  

Returns the address of the specified MenuItem.

ResetMenuStrip

  

Re-attach a menu strip to a window.

SetMenuStrip

  

Attach a menu strip to a window.


Documentation generated on: 2021-07-30