How to get the title of the dialog box title in my applications, such as dialog boxes in Windows 10. I noticed that if the minimum version of Windows is set to 6.0 or higher in the linker options, this will cause titlebars to become thick. I have <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> in my application manifest, but if I installed the minimum version of Windows in the EXE file with the linker up to 5.01 (for compatibility with XP), the headers will be thinner.
The application is written in a combination of C and C ++ and uses a simple Windows API.
Is there a way to get the headers in the dialogs to use non-backward compatible behavior without giving up XP support for my application?

source share