SL_CheckMenuItem


NAME
SL_CheckMenuItem -- check or uncheck a menu item.

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

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

FUNCTION
Checks or unchecks 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 check, FALSE to uncheck.

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_CheckMenuItem  Command Section By Type  url:SL_CheckMenuItem
  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_CheckMenuItem
There are no user contributed comments for this page.