SL_RemoveMenuItem


NAME
SL_RemoveMenuItem -- removes a menu item from a menu.

SYNOPSIS
success = SL_RemoveMenuItem(apphandle, barid, menuid, itemid);
D0 A0 D0 D1 D2

SLFLAG SL_RemoveMenuItem(APPHANDLE, UWORD, UWORD, UWORD);

FUNCTION
Removes the item specified by itemid from the menu speficied by menuid
which is contained in the menu bar specified by barid and frees up all
memory used for it.

INPUTS
apphandle - as returned by SL_AppInitA.
barid - resource id of the menu strip that contains the menuid.
menuid - resoiurce id of the menu that contains the itemid.
itemid - resouce id of the item to remove.

RESULTS
success - TRUE if the item was found and removed.
FALSE if the item could not be found.

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

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