In a multi monitor setup (2 monitors)
Left secondary, right primary
Is it possible to get the position of an window relative to it's current monitor it is on?
Currently when I place notepad on the left monitor I get negative values for x (GetWinXY).
I am assuming because the right monitor has it's monitor -X coord at 0, so the left monitor becomes negative?
Is there an easier/effective way to get the position of an window relative to it's current monitor it is on.
Preferably a method that also works in in 3 or even 4 monitor setups where the primary monitor can be any of them.
Left secondary, right primary
Is it possible to get the position of an window relative to it's current monitor it is on?
Currently when I place notepad on the left monitor I get negative values for x (GetWinXY).
I am assuming because the right monitor has it's monitor -X coord at 0, so the left monitor becomes negative?
Is there an easier/effective way to get the position of an window relative to it's current monitor it is on.
Preferably a method that also works in in 3 or even 4 monitor setups where the primary monitor can be any of them.