Help Center

CButton.SetDarkModemethod

Sets the dark mode of the button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION SetDarkMode(BYVAL hButton AS HWND) AS HRESULT

Description

Sets the dark mode of the button.

Example

CButton.SetDarkMode(hButton)

Reference

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