Disable a gui from resetting the the Y position to 0 when released Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
teadrinker
Posts: 4325
Joined: 29 Mar 2015, 09:41
Contact:

Re: Disable a gui from resetting the the Y position to 0 when released

21 Jun 2021, 20:37

By the way, this part

Code: Select all

            flags := NumGet(lParam + 32, "UInt")
            NumPut(flags | 0x0002, lParam + 32, "UInt") ; |= SWP_NOMOVE
is wrong, must be

Code: Select all

            flags := NumGet(lParam + A_PtrSize*2 + 16, "UInt")
            NumPut(flags | 0x0002, lParam + A_PtrSize*2 + 16, "UInt") ; |= SWP_NOMOVE
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: Disable a gui from resetting the the Y position to 0 when released

21 Jun 2021, 20:45

@swagfag and @teadrinker

That is a awesome bit of code :clap:
Thank you to both of you for your assistance with this.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 260 guests