SL_DisableMenu


NAME
SL_DisableMenu -- disable or enable an entire menu.

SYNOPSIS
success = SL_DisableMenu(apphandle, menustripid, menuid, state);
A0 D0 D1 D2

SLFLAG SL_DisableMenu(APPHANDLE, UWORD, UWORD, WORD);

FUNCTION
Disables or enables an entire menu.

INPUTS
apphandle - as returned by SL_AppInitA.
menustripid - id of the menu strip.
menuid - id of the menu.
state - TRUE to disable, FALSE to enable.

RESULTS
success - TRUE if the menu state was changed.
FALSE if it was not changed.

SEE ALSO
SL_AddMenuItem, SL_AddSubItem, SL_BeginMenuUpdate, SL_CheckFontMenuItem, SL_CheckMenuItem, SL_CheckSubItem, SL_DisableMenu, SL_DisableMenuItem, SL_DisableSubItem, SL_EndMenuUpdate, SL_GetFontMenuName, SL_InsertMenuItem, SL_InsertSubItem, SL_MenuKeyCheck, SL_RemoveMenuItem, SL_RemoveSubItem, SL_RenameMenuItem, SL_RenameSubItem.

 

SL_DisableMenu  Command Section By Type  url:SL_DisableMenu
  created:2008-03-01 23:36:29   last updated:2008-03-01 23:36:29
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_DisableMenu
There are no user contributed comments for this page.