News for hackers. Stuff that matters.
Re:How many layers of UI inconsistencies are in Windows 11? by kevingadd on Monday January 02, 2023 @07:53AM (#34217377)
If you're using win32, it will automatically update most of its widgets to match new styling - but if your application is old enough it won't happen automatically since it would have broken things. You have to opt in by having styling turned on (this is really easy to do).

See https://www.codeproject.com/Articles/620045/Custom-Controls-... (I can't remember where the documentation for this is on MSDN, but I'm sure it's somewhere).

Re:How many layers of UI inconsistencies are in Windows 11? by withinrafael on Monday January 02, 2023 @10:43AM (#34219081)
It's documented on Microsoft Learn at https://learn.microsoft.com/windows/win32/controls/cookbook-...

Be aware though Microsoft considers its WinUI 3 framework as the primary framework for implementing its Fluent design language and controls. (WinUI 2 will get you there too but has recently been deprecated.) Win32, common controls, WPF, WinForms, etc. are considered legacy technologies and cannot officially make use of many Fluent styles or controls.