CTerminalEmulator::SetBackColor Method  
 
BOOL SetBackColor(
  COLORREF rgbBackground  
);

The SetBackColor sets the background color used by the virtual display.

Parameters

rgbBackground
The background color specified as a 32-bit RGB value.

Return Value

If the method succeeds, the return value is non-zero. If the method fails, it returns zero.

Remarks

This method sets the background color for normal, reverse, bold and reverse-bold text attributes. To set the background color for a specific attribute, use the SetColor method.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csnvtv12.lib

See Also