| MenuOff | Function (ROM Call 0x419)

AMS 2.00 or higher | menus.h

void MenuOff (HANDLE ExecHandle);

Disables a toolbar menu.

MenuOff grays-out (i.e. disables) the top-level menu defined by ExecHandle (a handle returned from MenuBegin). To re-enable it, call MenuOn.

Uses: CalcBitmapSize, DrawChar, DrawClipRect, DrawFkey, DrawLine, DrawMultiLines, DrawPix, DrawStr, DrawStrWidth, FontSetSys, PortRestore, RestoreScrState, SaveScrState, ScrRect, ScrRectFill, ScrToWin, SetCurAttr, SetCurClip, memset, ST_eraseHelp, CU_cursorState, CU_restore, CU_stop, ROM Call 0x41E, ROM Call 0x420

See also: MenuBegin, MenuOn