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

Discuss the development of AutoHotkey_H
User avatar
evilC
Posts: 4822
Joined: 27 Feb 2014, 12:30

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

09 Sep 2016, 06:53

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.
User avatar
joedf
Posts: 8937
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

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

09 Sep 2016, 08:21

Yes, I would switch to AutoXYWH()
Since it is still being supported.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

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

09 Sep 2016, 13:43

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!
lexikos
Posts: 9494
Joined: 30 Sep 2013, 04:07
Contact:

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

09 Sep 2016, 18:35

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.
User avatar
evilC
Posts: 4822
Joined: 27 Feb 2014, 12:30

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

09 Sep 2016, 19:31

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.
hughman
Posts: 18
Joined: 17 Jun 2014, 09:39

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

29 Aug 2018, 06:30

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?
hughman
Posts: 18
Joined: 17 Jun 2014, 09:39

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

06 Jan 2019, 08:01

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.
Yararli
Posts: 41
Joined: 18 May 2019, 20:26

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

01 Jul 2019, 13:29

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 ?
keylo
Posts: 51
Joined: 21 Oct 2020, 21:03

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

18 Dec 2020, 23:17

Autohotkey H , just blew me away with those Auto positioning options. Wonderfull. Great work :)

Return to “Development”

Who is online

Users browsing this forum: No registered users and 13 guests