Help Center

CToolbar.GetColorSchememethod

Retrieves the color scheme information from the toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetColorScheme (BYVAL hToolbar AS HWND, BYVAL pcs AS COLORSCHEME PTR) AS BOOLEAN
FUNCTION GetColorScheme (BYVAL hToolbar AS HWND, BYREF cs AS COLORSCHEME) AS BOOLEAN
FUNCTION GetColorScheme (BYVAL hToolbar AS HWND) AS COLORSCHEME

Parameters

NameDescription
hToolbarHandle to the toolbar control.
pcsPointer to a COLORSCHEME structure that will receive the color scheme information.
pcsA COLORSCHEME structure that will receive the color scheme information.

Return value

Returns nonzero if successful, or zero otherwise.

Description

Retrieves the color scheme information from the toolbar control.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:514
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class