IMainWindow
What it does
Represents the main window.
Methods
| Definition | Description |
|---|---|
| CommandIsEnabled( commandId: TCommandID ) : bool | Returns true for a command that is enabled and false for a command that is disabled. |
| EnableCommand( commandId: TCommandID, bool) | Makes a command available or unavailable in the GUI. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Handle | int | Read-only | The handle of the window |
| MainMenu | IMainMenu | Read-only | The main menu |
| Selection | ISelection | Read-only | The selection |
| TaskWindow | ITaskWindow | Read-only | The task window |
| Toolbars | IToolbars | Read-only | The collection of toolbars |
| UserRole | TUserRole | Read-only | The user role |
| WorkWindowType | TWorkWindowType | Read-only | The type of the working window |
12.04.2024 18:16:02