Help Center

CRebar.SetDarkModemethod

Sets the rebar dark mode.

WindowsmethodCRebar.incdocumented

Syntax

FUNCTION SetDarkMode(BYVAL hRebar AS HWND) AS HRESULT

Parameters

NameDescription
hRebarThe handle of the Rebar control.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Description

Sets the color scheme information for the rebar control.

Reference

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