Comment by pjc50

8 hours ago

Annoyingly many of the new features are WinRT only, so you have to deal with that horror.

I'm a big fan of the MFC/WinForms era stuff myself, but it has one crippling limitation: it doesn't handle display scaling very well at all.

Only AI stuff, there is hardly anything else that depends on WinUI/WinAppSDK.

There are Win32 APIs for HiDPI configuration, the issue is that it isn't automatic, it needs to be on the app manifest or called explicitly, and handle the events for resolution changes.

  • Even if you do that, and carefully work in "points" internally rather than pixels, the results seem to be bad. Win32 dialogs are generally not resizable or "responsive". This is even visible in settings dialogs from Windows itself.

    • Still much better than dealing with WinRT, and its "ATL is great!" attitude, with the endless amount of bugs that never get fixed.

I have been using WinRT and Win32, and I find WinRT much more pleasant to use

  • Until you will bump into one of those bugs that have been open since Project Reunion was announced.