Page 3 of 3

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 06:53
by evilC
Port what to V2? Not sure how V2 is gonna help you, it doesn't have an Anchor equivalent in it either AFAIK.

No plans as of yet to merge this into AHK_L properly - Lexikos has said that he will implement his own system at some point, so for now if you want to take advantage of this in a recent AHK build, your only option is to use AHK_H.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 07:28
by joedf
Here is the latest compatible version I have of anchor
https://github.com/ahkscript/ASPDM/blob ... Anchor.ahk

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 07:54
by jNizM
Dont forget AutoXYWH()

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 08:21
by joedf
Yes, I would switch to AutoXYWH()
Since it is still being supported.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 13:43
by HotKeyIt
The script works fine for me as it is, with the new feature there is no need for Anchor:

Code: Select all

#singleinstance force
gui, +resize
gui, add, listview, w200 r20 aw.4 ah2/3, a|b|c
gui, add, listview, x+10 w300 r20 ax.4 aw.6 ah2/3, a|b|c
gui, add, listview, x10 y+10 w510 r10 ay2/3 aw ah1/3, a|b|c
gui, show, ,test 
WinWait, test
gui, show, maximize ,test 
gui, show, ,test 
return
GuiClose:
ExitApp
These features are also included in AHK_H v2!

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 18:35
by lexikos
evilC wrote:Lexikos has said that he will implement his own system at some point,
Can you point me to where I wrote that? It might give me some idea of what I was thinking. :eh:

It's pretty unlikely at this point.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 09 Sep 2016, 19:31
by evilC
Well, it was maybe more a "I have some ideas" kind of statement, but to me it indicated that it was one of those things that was planned, but was just a matter of time / priorities.

If you think you will never get around to it, then maybe it would be worth folding HotkeyIt & I's code into L? It seems to work, and while it can be done in AHK script, it's noticeably smoother when done in C.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 29 Aug 2018, 06:30
by hughman
evilC wrote:
Child Guis as GuiControls
Syntax: Gui, Add, Gui, <control options>, <hwnd or name/number of existing Gui>
This adds an existing Gui, as if it were a GuiControl.
You can use the guicontrol options to apply autopositioning values to the child Gui.
Can the child guis be seprated and popped up from the parent after it is added?

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 29 Aug 2018, 06:57
by evilC
I don't think there would be anything stopping you from manipulating it after you added it, not sure how the autosize code in the parent Gui would behave to it being popped out though.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 06 Jan 2019, 08:01
by hughman
There is a problem about tabstop if adding gui as control. Because the child gui is treated as a control, so when you press tab on it, the focus will directly skip to the other control of the parent gui , rather than of the child gui.

By the way, the help pages in V2 docs is missing.

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 01 Jul 2019, 13:29
by Yararli
Hello, that ahk.exe is perfect for scroll bar support
I have a question, I would like to use this ahk for one of my script. However when I use compiler how can I make this ahk as a default one for compiling ?

Is there any final build for this ahk.exe?

Or is there any compiling method for having this ahk.exe as a default ?

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 01 Jul 2019, 16:47
by evilC
All the features made it into AHK_H, it never made it into a proper AHK_L release

Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!

Posted: 18 Dec 2020, 23:17
by keylo
Autohotkey H , just blew me away with those Auto positioning options. Wonderfull. Great work :)