win32-dpi
win32-dpi copied to clipboard
Example of properly DPI-scaling Win32 windows across XP to latest Windows 11
Results
2
win32-dpi issues
Sort by
recently updated
recently updated
newest added
I know there is some magic code needed if you want to create cursors in DPI-aware manner. See: https://stackoverflow.com/a/76505826/1795050 Can you add some example code with this?
The explanations and code make it look like using `GetSystemMetricsForDpi` is enough. But for whatever reasons not all metrics are DPI-dependent. Notably, `SM_CXEDGE`, `SM_CXBORDER` and `SM_CXDRAG` (and their Y equivalents)...