<< SL_DisableMenu | SL_DisableSubItem >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_DisableMenuItem
NAME
SL_DisableMenuItem -- disable or enable a menu item.
SYNOPSIS
success = SL_DisableMenuItem(apphandle, menustripid, menuid, itemid, state);
A0 D0 D1 D2 D3
SLFLAG SL_DisableMenuItem(APPHANDLE, UWORD, UWORD, UWORD, WORD);
FUNCTION
Disables or enables a menu item.
INPUTS
apphandle - as returned by SL_AppInitA.
menustripid - id of the menu strip.
menuid - id of the menu.
itemid - id if the menu item.
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_DisableMenuItem Command Section By Type url:SL_DisableMenuItem
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_DisableMenuItem | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_DisableMenu | SL_DisableSubItem >> |
Top: Documentation Library | Up: SoftLogik App Library API |