I should say first up, I don’t think this is a duplicate of Creating a DPI-Aware Application, and the many other similar questions, though it is closely related.
I’m working with a large WinForms app that’s ~2 years in development, so a switch to WPF is not on the table.
We have resolved the normal text blurryness issues that arise with differing resolutions etc, except for in one particular edge case.
Steps to reproduce:
- Open application
- Connect laptop to USB dock, which in turn drives additional monitor
- Form is now blurry again. Note however, that restarting the application solves the issue – so it is not caused by using the dock per se, but rather it seems like there’s some sort of OS event that I need to catch, to handle the DPI change
Note also, when using the dock – dragging the application between the dock screens and the laptop screen are handled. When dragging the app between screens, the portion of the app displayed on the screen the user is dragging to is blurry, but as soon as the cursor crosses over from the dock screens onto the laptop screens, the app crisps up again.