CProgBar.SetBkColormethod
Sets the background color in the progress bar.
Syntax
FUNCTION SetBkColor (BYVAL hProgBar AS HWND, BYVAL clrBk AS COLORREF) AS COLORREF
Parameters
| Name | Description | |
|---|---|---|
hProgBar | A handle to a progress bar. | |
clrBk | COLORREF value that specifies the new background color. Specify the CLR_DEFAULT value to cause the progress bar to use its default background color. |
Return value
Returns the previous background color, or CLR_DEFAULT if the background color is the default color.
Description
Sets the background color in the progress bar.
Remarks
When visual styles are enabled, this message has no effect.
Reference
- Include file
CProgBar.inc - Defined in AfxNova/CProgBar.inc:191
- Documented in Windows/WIndows Controls/CProgBar.md
- Topic: CProgBar Class