Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 617 Bytes

File metadata and controls

35 lines (21 loc) · 617 Bytes

NAME

OffMenu -- Disable the given menu or menu item.

SYNOPSIS

    OffMenu( Window, MenuNumber )
             A0      D0

    VOID OffMenu( struct Window *, UWORD );

Links: Window Window

FUNCTION

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.

INPUTS

Window = pointer to the window MenuNumber = the menu piece to be disabled

RESULT None

BUGS

SEE ALSO

OnMenu, ResetMenuStrip