CProgressCtrl::SetBarColor
Sets the color of the progress indicator bar in the current progress bar control.
COLORREF SetBarColor(
COLORREF clrBar
);
Параметры
Parameter |
Description |
---|---|
[in] clrBar |
A COLORREF value that specifies the new color of the progress indicator bar. Specify CLR_DEFAULT to cause the progress bar to use its default color. |
Возвращаемое значение
The previous color of the progress indicator bar, represented as a COLORREF value, or CLR_DEFAULT if the color of the progress indicator bar is the default color.
Заметки
This method sends the PBM_SETBARCOLOR message, which is described in the Windows SDK.
Требования
Header: afxcmn.h