Skip to content

Instantly share code, notes, and snippets.

@rounk-ctrl
rounk-ctrl / Dark.md
Last active June 18, 2024 18:31
Win32 Dark Mode

Dark Mode APIs.

API Signatures.

ShouldAppsUseDarkMode()

Checks whether system is using dark mode or not.
Signature:

using fnShouldAppsUseDarkMode = bool (WINAPI*)(); // ordinal 132

AllowDarkModeForWindow(In HWND hWnd, In bool allow)

@StephanTLavavej
StephanTLavavej / videos.md
Last active June 30, 2024 20:13
C++ Videos by Stephan T. Lavavej