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

Discuss the development of AutoHotkey_H
User avatar
evilC
Posts: 4354
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: 6580
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

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

09 Sep 2016, 07:28

Here is the latest compatible version I have of anchor
https://github.com/ahkscript/ASPDM/blob ... Anchor.ahk
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
jNizM
Posts: 2333
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

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

09 Sep 2016, 07:54

Dont forget AutoXYWH()
[AHK] 1.1.30.00 x64 Unicode | [WIN] 10 Pro (Version 1803) x64 | [GitHub] Profile
Donations are appreciated if I could help you
User avatar
joedf
Posts: 6580
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
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 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
HotKeyIt
Posts: 1705
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: 6200
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

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

09 Sep 2016, 18:35

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: 4354
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: 12
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


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?

Return to “Development”

Who is online

Users browsing this forum: No registered users and 0 guests