Docking multiple windows and moving them together? Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
Xeilous
Posts: 12
Joined: 04 Feb 2018, 04:06

Docking multiple windows and moving them together?

07 Feb 2018, 21:56

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.
User avatar
noname
Posts: 509
Joined: 19 Nov 2013, 09:15

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

08 Feb 2018, 00:44

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
soundcloud.com/user-32706894
Xeilous
Posts: 12
Joined: 04 Feb 2018, 04:06

Re: Docking multiple windows and moving them together?

08 Feb 2018, 01:20

Sweet, thank you. This looks exactly like what I need.

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, congdantoancau, Google [Bot], Loop and 173 guests