4 ms·
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 automatical
by kevingadd 4y ago
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-in-Win-API-Visual-Styles 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).
- withinrafael 4y agoIt's documented on Microsoft Learn at https://learn.microsoft.com/windows/win32/controls/cookbook-overview 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.