CProgBar.GetBarColormethod
Gets the color of the progress bar.
Syntax
FUNCTION GetBarColor (BYVAL hProgBar AS HWND) AS COLORREF
Parameters
| Name | Description | |
|---|---|---|
hProgBar | A handle to a progress bar. |
Return value
Returns the color of the progress bar.
Description
Gets the color of the progress bar.
Remarks
This is the color set by the PBM_SETBARCOLOR 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:288
- Documented in Windows/WIndows Controls/CProgBar.md
- Topic: CProgBar Class