CDC::SetBkMode 

int SetBkMode( int nBkMode );

Return Value

The previous background mode.

Parameters

nBkMode

Specifies the mode to be set. This parameter can be either of the following values:

Remarks

Sets the background mode. The background mode defines whether the system removes existing background colors on the drawing surface before drawing text, hatched brushes, or any pen style that is not a solid line.

Example

See the example for CWnd::OnCtlColor.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::GetBkColor, CDC::GetBkMode, CDC::SetBkColor, ::SetBkMode