SmartCode ViewerX

ISmartCodeVNCViewer::DisconnectedText Property


This method sets or gets the value of the DisconnectedText property, the text that appears centered in the control while the control is in disconnected.

Syntax

HRESULT ISmartCodeVNCViewer::get_DisconnectedText(BSTR* pstrText);
HRESULT ISmartCodeVNCViewer::put_DisconnectedText(BSTR strText);

Parameters

pstrText
Pointer to the value of the DisconnectedText property.
strText
BSTR that specifies the string value the DisconnectedText property is to be set to.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

An example of connection text is "SmartCode VNC Viewer - Disconnected".