Docs » Autodocs » intuition.library » OffMenu
OffMenu -- Disable the given menu or menu item.
OffMenu( Window, MenuNumber ) A0 D0 VOID OffMenu( struct Window *, UWORD );
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.
Window = pointer to the window MenuNumber = the menu piece to be disabled
None
OnMenu(), ResetMenuStrip()
|