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


CProgressCtrl::GetBarColor

Gets the color of the progress indicator bar for the current progress bar control.

COLORREF GetBarColor() const;

Return Value

The color of the current progress bar, represented as a COLORREF value, or CLR_DEFAULT if the progress indicator bar color is the default color.

Remarks

This method sends the PBM_GETBARCOLOR 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_GETBARCOLOR

COLORREF

Using CProgressCtrl

CProgressCtrl::SetBarColor

Other Resources

CProgressCtrl Members