CDC::GetBkMode

Returns the background mode.

int GetBkMode( ) const;

Return Value

The current background mode, which can be OPAQUE or TRANSPARENT.

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::GetBkColor

CDC::SetBkColor

CDC::SetBkMode

GetBkMode