#19352: Modernize wxMSW with WinUI
--------------------------+-------------------
Reporter: TrylzEngine | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxMSW | Version: 3.0.5
Resolution: | Keywords:
Blocked By: | Blocking:
Patch: 0 |
--------------------------+-------------------
Changes (by pb101):
* cc: pbfordev@… (removed)
Comment:
Replying to [comment:9 TrylzEngine]:
> For the "old" look I was talking about, the color dialog is the perfect
example.
No offense, but IMO it is actually a very bad example.
WinAPI color dialog in the screenshot you referred to is a non-themed
(just check how the buttons look) dialog running on Windows XP, i.e., it
has a Windows 95 look. It does not look like that on a modern Windows
(controls-wise, not layout-wise).
OTOH, what is in the WinUI3 screenshot is not a dialog: It does not have
the caption or buttons. In other words, it is a control (picker), not a
dialog. The "dialog" in the screenshot also lacks the features the WinAPI
one has so you were comparing apples and oranges.
The "old" feeling is just a feeling, in other words it is subjective. It
is all about what is in fashion now, and apparently it is not clean and
functional WinAPI design anymore. Now it is a clunky couple-of-shades-of-
gray one. I guess it will take a couple of years till the pendulum swings
the other way around, just like they perpetually switch between round and
sharp browser tab corners.
Nevertheless, it is clear that Microsoft abandoned WinAPI. While they at
least added high DPI, I think it is pretty clear by now the controls will
not get dark mode support even it if it seems pretty simple to add.
All that said, as I wrote before, among else I would be worried about the
level of Microsoft's commitment to WinUI 3, see their recent history when
it comes to that. It is not like we are seeing developers both large and
small praising the API and switching their applications to Win UI ASAP.
By the way, creating custom controls may not be as simple as it may seem.
It is not only the appearance, one has to worry about proper keyboard and
mouse support, RTL, accessibility... Besides that, WPF-looking controls
are going to look out of place in WinAPI application.
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/19352#comment:10>