SmartCode ViewerX

ISmartCodeVNCViewer::TopLevelParent Property


Sets or retrieves HWND handle use as a parent window for ViewerX message boxes and dialogs.

Syntax

HRESULT ISmartCodeVNCViewer::get_TopLevelParent(long* phParent);
HRESULT ISmartCodeVNCViewer::put_TopLevelParent(long hParent);

Parameters

phParent
Pointer to a variable of type long that receives the address of target VNC server.
hParent
long that specifies the address of target VNC server.

Return Value

Returns S_OK if successful, or an error value otherwise.