Disable the given menu or menu item.
Source position: intuition.pas line 4136
procedure OffMenu( |
window: pWindow; |
menuNumber: LongWord |
); |
window |
|
A pointer to the window |
menuNumber |
|
The menu piece to be disabled |
This command disables 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.
|
Enable the given menu or menu item. |
|
|
Re-attach a menu strip to a window. |