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

OnMenu

Enable the given menu or menu item.

Declaration

Source position: intuition.pas line 4138

procedure OnMenu(

  window: pWindow;

  menuNumber: LongWord

);

Arguments

window

  

A pointer to the window

menuNumber

  

The menu piece to be enables

Description

This command enables a sub-item, an item, or a whole menu. This depends on the contents of the data packed into MenuNumber, which is described in the Intuition Reference Manual.

See also

OffMenu

  

Disable the given menu or menu item.

ResetMenuStrip

  

Re-attach a menu strip to a window.


Documentation generated on: 2021-07-30