SmartCode ViewerX

ISmartCodeVNCViewer3::OuterBackgroundColor Property


Sets the outer background color. This background color is used to paint the background when the ViewerX size is larger than the remote screen. By default the COLOR_APPWORKSPACE system color is used to paint the outer background.

Syntax

HHRESULT ISmartCodeVNCViewer3::get_OuterBackgroundColor(COLORREF* pcrColor);
HHRESULT ISmartCodeVNCViewer3::put_OuterBackgroundColor(COLORREF crColor);

Parameters

pcrColor
Pointer to a variable of type long that receives RGB color value used to paint the outer background area.
crColor
long that specifies the RGB color to use paint the outer background area.

Return Value

Returns S_OK if successful, or an error value otherwise.