I'm having 2 monitors. primary monitor -> One is with (100% DPI). Secondary monitor -> 4K monitor with (300% DPI). I used to drag the output window to secondary monitor. now the application output window is appearing in 4K monitor.
In my application, i have used to update images based on DPI. So i need to get DPI of current monitor where the application is showing. My code always gives DPI value of primary monitor.
Please share your ideas. Thanks.