System Projects Reference > Situational Awareness System Projects > Situational Awareness Include Project > Workspace_GetWindow

Workspace_GetWindow

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 Citect window number OR BAD_HANDLE if the specified workspace does not exist.

Example

INT nCitectWindow = Workspace_GetWindow("PrimaryScreen");

Related Functions

Published June 2018