SmartCode ViewerX

ISmartCodeVNCViewer::ListeningText Property


This method sets or gets the value of the ListeningText property, the text that appears centered in the control while the control is listening for server connections.

Syntax

HRESULT ISmartCodeVNCViewer::get_ListeningText(BSTR* pstrText);
HRESULT ISmartCodeVNCViewer::put_ListeningText(BSTR strText);

Parameters

pstrText
Pointer to the value of the ListeningText property.
strText
BSTR that specifies the string value the ListeningText 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 "Listening for incoming connections...".
You can use %i combination in your text. It will be replaced with the current listening port value.