sds_menucmd
sds_menucmd
int sds_menucmd (const wchar_t *string);
Execute this menu command.
This function executes a command in the menu bar (cursor menu and pull-down menus). The string parameter uses the following formats:
"menu=value"
"menu=*"
The menu parameter has two parts, such as (menucmd "P1.2=*). In this case, the "P1" refers to the first pull-down menu (usually the File menu). the ".2" refers to the first item on the menu (usually the Open item). The first values of menucmd permitted in progeCAD are:
| Menu | Meaning |
|---|---|
| P0 | Cursor menu |
| P1-P16 | Pull-down menus 1-16 |
The value parameter has the following meanings:
| Value | Meaning |
|---|---|
| ? | What is status of the menu item? |
| * | Display the menu. |
| ~ | Disable the menu item (grayed out). |
| !. | Prefix menu item with a checkmark. |
|
|
(blank) Remove properties. |
| name | Load the menu name. |
This function returns RTNORM (when the function is successful), RTKWORD (when value = ?), or an error code.
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español