SmartCode ViewerX

ISmartCodeVNCViewer2::SelectSingleWindow Function


Selects single window for broadcasting by a remote UltraVNC server.

Syntax

HRESULT ISmartCodeVNCViewer2::SelectSingleWindow(VARIANT_BOOL bSelect);

Parameters

bSelect
If bSelect equals TRUE, ViewerX changes to 'select single window mode' and switchs back to normal mode after user select a window. If bSelect equals FALSE, then the whole remote desktop will be shown.

Remarks

You can use IScVxCapabilities::SelectSingleWindow property to check if the remote VNC server supports switching between monitors.

Return Value

Returns S_OK if successful, or an error value otherwise.