MnSetChecked

MnSetChecked checks or unchecks a menu item.

bool = MnSetChecked(ssMenue, nMenu, nItem, bChecked)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

ssMenue

ssMenue is the name of the menu bar. The following menus are available:

Value Meaning
“Editor” This menu appears when an editor is active.
“Document” This menu appears when a document with diagram pages is active.
“DocumentServer” This menu appears when the UniPlot document page is embedded in another application program (OLE).
“Command” This menu appears when the UniScript command window is active.
“Main” This menu appears when no MDI window is available in the UniPlot main window. This is normally the case after UniPlot has be started.
nMenu

nMenu is the position of the menu. The entry that lies farthest left (normally the File Menu) has the position 1.

nItem

nItem is the position of the menu within the menu nMenu.

bChecked

If bChecked is TRUE (1) the menu will be marked. When it is FALSE (0) the marking will be removed.

id-563061