Workspace_GetWindow
- Last UpdatedJul 18, 2023
- 1 minute read
Returns the workspace window for the specified workspace.
Syntax
Workspace_GetWindow([STRING sWorkspaceName])
sWorkspaceName
The workspace name of the window, OR "" to get the window number of the current pinned window. This is an optional parameter.
Return Value
A Plant SCADA window number OR BAD_HANDLE if the specified workspace does not exist.
Example
INT nCitectWindow = Workspace_GetWindow("PrimaryScreen");
Related Functions
Workspace_GetContext, Workspace_GetEquipmentCluster, Workspace_GetPageNameWithRes, Workspace_GetResolution, Workspace_GetSelContext, Workspace_GetWorkspaceFromName, Workspace_GetWorkspaceFromWindow, Workspace_Init, Workspace_IsSelContext, Workspace_IsSystem_Initialised, Workspace_SelectEquipment, Workspace_SetSelContext, Workspace_ShowContent