SmartCode ViewerX

ISmartCodeVNCViewer::ConnectingText Property


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

Syntax

HRESULT ISmartCodeVNCViewer::get_ConnectingText(BSTR* pstrText);
HRESULT ISmartCodeVNCViewer::put_ConnectingText(BSTR strText);

Parameters

pstrText
Pointer to the value of the ConnectingText property.
strText
BSTR that specifies the string value the ConnectingText 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 "Connecting to server...".
You can use %s combination in your text. It will be replaced with the current server address.