SL_RemoveSubItem


NAME
SL_RemoveSubItem -- removes a sub item from an items list.

SYNOPSIS
success = SL_RemoveSubItem(apphandle, barid, menuid, iid, id);
D0 A0 D0 D1 D2 D3

SLFLAG SL_RemoveSubItem(APPHANDLE, UWORD, UWORD, UWORD, UWORD);

FUNCTION
Removes and frees the sub item speficied by id.

INPUTS
apphandle - as returned by SL_AppInitA.
barid - resource id of the menu strip.
menuid - the id of the menu the iid is in.
iid - resource id of the item this is a subitem of.
id - the id of the sub item to remove.

RESULTS
success - TRUE if the sub item could be removed.
FALSE if the subitem could not be found or removed.

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_RemoveSubItem  Command Section By Type  url:SL_RemoveSubItem
  created:2008-03-01 23:36:20   last updated:2008-03-01 23:36:20
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

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