Поделиться через


CDC::GetBkColor

Returns the current background color.

COLORREF GetBkColor( ) const;

Возвращаемое значение

An RGB color value.

Заметки

If the background mode is OPAQUE, the system uses the background color to fill the gaps in styled lines, the gaps between hatched lines in brushes, and the background in character cells. The system also uses the background color when converting bitmaps between color and monochrome device contexts.

Требования

Header: afxwin.h

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::GetBkMode

CDC::SetBkColor

CDC::SetBkMode

GetBkColor