I am modifying my application to support high-DPI values (above 100%/96dpi).
I modified the application's manifest file to include:
<dpiAware>true/PM</dpiAware>
I am able to handle all the DPI scaling for my own app's forms, but how do I handle standard windows dialogs (Font selector, open files, folder browser, etc) through WinAPI. Is there a way to manually inform windows that I want only these dialogs automatically scaled for the higher DPI?
* Update *
After using the "SetThreadDpiAwarenessContext" WinAPI function, windows does seem to handle the scaling, but it does so in the by scaling the image (blurred text) instead of scaling the controls (remember, these are standard windows controls like the ones generated by calling "GetOpenFileNameW").
Any ideas how to get windows to draw the open-file dialog properly scaled without blurred text?