akorx Posted May 28, 2017 Posted May 28, 2017 (edited) Hi, I use winmove() to resize and move a windows (on different corners of the screen) but when I use many monitors my window jumps between monitor 1 to monitor 2 (or the opposite)... How can I do find the "active" screen (= the monitor where is the windows I want to move) and force winmove() to stay on this screen? Edited May 28, 2017 by akorx AkorxMail akorx@yahoo.fr
Deye Posted May 29, 2017 Posted May 29, 2017 To find the "active" screen of a the window you could try _WinAPI_MonitorFromWindow($hWnd, $MONITOR_DEFAULTTONEAREST) And perhaps some other functions in this post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now