Page 1 of 1

Docking multiple windows and moving them together?

Posted: 07 Feb 2018, 21:56
by Xeilous
I have a script that generates a bunch of windows(anywhere 2-20+ windows usually), and I'd like to be able to move them around, as if they were all docked to each other, if possible. The way I have it now, when the window is generated the hWnd is saved into an array. I'd like to be able use this array to dock them all together(if this is even a good idea, because I'm not sure). What would be the best way to go about doing this?

This is what I have: https://i.imgur.com/2QhThxN.gif. As you can see, when I drag one, they're not docked. Ideally, I'd like to be able to dock them all together.

Re: Docking multiple windows and moving them together?  Topic is solved

Posted: 08 Feb 2018, 00:44
by noname
There is a recent example of using " DeferWindowPos " to link windows by Wolf_II :

https://autohotkey.com/boards/viewtopic.php?t=43192

microsoft source : https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Re: Docking multiple windows and moving them together?

Posted: 08 Feb 2018, 01:20
by Xeilous
Sweet, thank you. This looks exactly like what I need.