MnRemove removes a menu item or a complete menu.
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
ssMenu 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 is the position of the menu. The entry that lies furthest left (normally the File Menu) has the position 1.
nItem is the position of the menu within the menu nMenu.
Example
MnRemove("Editor", 5);
See also
id-1515303