Help Center

CToolbar.SetColorSchememethod

Sets the color scheme information for the toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

SUB SetColorScheme (BYVAL hToolbar AS HWND, BYVAL pcs AS COLORSCHEME PTR)
SUB SetColorScheme (BYVAL hToolbar AS HWND, BYREF cs AS COLORSCHEME)

Parameters

NameDescription
hToolbarHandle to the toolbar control.
pcsPointer to a COLORSCHEME structure that contains the color scheme information.
csA 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