SL_DisableSubItem


NAME
SL_DisableSubItem -- disable or enable a submenu item.

SYNOPSIS
success = SL_DisableSubItem(apphandle, menustripid, menuid, itemid, subid, state);
A0 D0 D1 D2 D3 D4

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

FUNCTION
Disables or enables a submenu 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.
subid - id of the sub 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_DisableSubItem  Command Section By Type  url:SL_DisableSubItem
  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_DisableSubItem
There are no user contributed comments for this page.