3 ms·
GDI 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
by cantours 3y ago
GDI 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.