다음을 통해 공유


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

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::GetBkColor

CDC::SetBkColor

CDC::SetBkMode

GetBkMode