You can prevent users from opening new workspaces by adding the code that immediately closes these aging. Add the the following code to \Classes\Info\workspaceWindowCreated:
void workspaceWindowCreated(int _hWnd)
{
;
// Put workspace window specific initialization here.
// Begin -->
if(xInfo::currentWorkspaceNum()>1)
{
Infolog.shutDown(true);
}
// End <--
}
No comments:
Post a Comment