CProgBar.GetBkColormethod
Gets the background color of the progress bar.
Syntax
FUNCTION GetBkColor (BYVAL hProgBar AS HWND) AS COLORREF
Parameters
| Name | Description | |
|---|---|---|
hProgBar | A handle to a progress bar. |
Return value
Returns the background color of the progress bar.
Description
Gets the background color of the progress bar.
Remarks
This is the color set by the PBM_SETBKCOLOR message. The default value is CLR_DEFAULT, which is defined in commctrl.bi.
This function only affects the classic mode, not any visual style.
Reference
- Include file
CProgBar.inc - Defined in AfxNova/CProgBar.inc:295
- Documented in Windows/WIndows Controls/CProgBar.md
- Topic: CProgBar Class