objects: backport AHK v2 Gui/Menu classes to AHK v1

Discuss the future of the AutoHotkey language
User avatar
Posts: 3791
Joined: 19 Dec 2016, 01:58
Location: UK

Re: objects: backport AHK v2 Gui/Menu classes to AHK v1

05 Mar 2018, 17:10

- I managed to create a Menu object, and then tried to implement one or two GUI object methods to complete the example script, which was a slippery slope that ended up with me essentially completing a first draft for both objects.
- Please see the 6-item to-do list, I could probably use some help with some of the queries.
- I don't particularly plan to do much more with this for the foreseeable future, I might try and convert some AHK v1 GUIs at some point.
- If someone's keen, they might like to test it, suggest bug fixes, and possibly make the fixes themselves to save time (I can use WinMerge to reveal the changes).
- [EDIT:] MarginX/MarginY report -1 until they are changed by the user, at which point they report those specific values. Emulating that behaviour is straightforward, but if there is actually a way to retrieve the original margin values that would be interesting/useful.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 3 guests