3 ms·
It looks pretty nice. I would say that they are falling into the same trap as other native toolkits, in that they are targeting win32/MFC components. As Window
by deaddodo 3y ago
It looks pretty nice. I would say that they are falling into the same trap as other native toolkits, in that they are targeting win32/MFC components.
As Windows users are probably going to be your number one utilizers of target applications, it's always weird that that experience is always the worst. Maybe target WPF/WinUI instead, for a more modern experience.
- c-smile 3y agoWith each release of Windows there are less and less HWND/GDI based applications. Standard set of HWND/GDI controls (EDIT,COMBOBOX, BUTTON + so called common controls) is not changing since Win95 so it is a dead end. And in general modern UI tends to move to composition of UI from primitive ctls achieving rich agglomerates. Like in Web UIs: <div class="search-input"> <input type="text" /> <button /> </div> HWND/GDI is really dead for many reasons. Badly scalable on high-DPI, no alpha, no 3D like here: https://sciter.com/sciter-webgl-is-officially-published-in-v-5-0-3-0/ https://sciter.com/sciter-webgl-is-officially-published-in-v... (second screenshot) and no styling/customization.
- cantours 3y agoGDI works fine for dpi scaling. handle WM_DPICHANGED recreate fonts with actual_dpi/reference_dpi scale factor and send WM_SETFONT and apply scale factor to all DeferWindowPos() operations.