Help Center

CHeader.SetDarkModemethod

Set header dark mode.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetDarkMode (BYVAL hHeader AS HWND) AS HRESULT

Parameters

NameDescription
hHeaderThe handle of the header control.

Return value

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

Description

Sets the header dark mode.

Reference

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