CToolbar.SetColorSchememethod
Sets the color scheme information for the toolbar control.
Syntax
SUB SetColorScheme (BYVAL hToolbar AS HWND, BYVAL pcs AS COLORSCHEME PTR)
SUB SetColorScheme (BYVAL hToolbar AS HWND, BYREF cs AS COLORSCHEME)
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
pcs | Pointer to a COLORSCHEME structure that contains the color scheme information. | |
cs | A COLORSCHEME structure that contains the color scheme information. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Sets the color scheme information for the toolbar control.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1080
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class