Compartilhar via


CProgressCtrl::GetBkColor

Gets the background color of the current progress bar.

COLORREF GetBkColor() const;

Return Value

The background color of the current progress bar, represented as a COLORREF value.

Remarks

This method sends the PBM_GETBKCOLOR message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This control is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CProgressCtrl Class

Hierarchy Chart

PBM_GETBKCOLOR

COLORREF

Using CProgressCtrl

CProgressCtrl::SetBkColor