you mean like this ?Helgef wrote:dock relative option?
Search found 174 matches
- 10 May 2017, 04:30
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
- 09 May 2017, 10:18
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
update 0.2.2 -It is now possible to dock more than one window (still WIP, its code and style are provisional) -changed some class properties's name for future consistency -Now Host (formerly main window) and Client window(formerly attached window) dock each other -several changes... see code and exa...
- 09 May 2017, 10:10
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
Soft, I would just like to check on what is expected behavior. I notice that if I move the Notepad window it undocks. It then JUMPS to re-dock when I go to move the parent window. Can you confirm that is intended. Relayer It was just not implemented. Now dock has that feature though. Test with a ne...
- 07 May 2017, 06:08
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
... oh right, class destructor can be called properly on this v0.2 I was testing with another build of Dock which was creating circular references . That's why I didn't implement Unhook() in __Delete() on public code :crazy: Why do you think you are a pain? I'm truly thankful and glad because you a...
- 07 May 2017, 00:54
- Forum: AutoHotkey Development
- Topic: 6th Anniversary
- Replies: 14
- Views: 8206
Re: 6th Anniversary
so it is happening!
much appreciated for your hard work lexikos
much appreciated for your hard work lexikos
- 06 May 2017, 21:20
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
Well I don't think I need to because __Delete() can never be called unless circular references are broken by Unhook()Helgef wrote: And, you need to call unhook() in __delete()Code: Select all
__Delete() { if this.hook this.Unhook() this.CloseCallback := "" }
- 06 May 2017, 08:45
- Forum: Ask for Help (v1)
- Topic: "WinActive" issue and "Run"
- Replies: 5
- Views: 2279
Re: "WinActive" issue and "Run"
... seem i'm missing some basic education in regards to AHK. If i keep If WinActive("ahk_exe winword.exe") it works perfectly, but if i add one "space" before the brakets, the code stop working propertly. ... adn if you point me to where can i lear the slight syntax quirks, that'll be great. When u...
- 06 May 2017, 06:38
- Forum: Ask for Help (v1)
- Topic: "WinActive" issue and "Run"
- Replies: 5
- Views: 2279
Re: "WinActive" issue and "Run"
if WinActive "winword.exe" WinAcitvate ~ is not a command nor function, should be changed try this one If WinExist("ahk_exe winword.exe") { If WinActive("ahk_exe winword.exe") WinMinimize Else WinActivate, ahk_exe winword.exe } Else Run, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word 201...
- 05 May 2017, 21:52
- Forum: Ask for Help (v1)
- Topic: Elegant way to check variables before using them
- Replies: 3
- Views: 1273
Re: Elegant way to check variables before using them
Code: Select all
;a := 111
b := 222
If (StrLen(a) && StrLen(b))
{
Msgbox, Won't be showed
}
- 05 May 2017, 21:47
- Forum: Ask for Help (v1)
- Topic: Is it a bad idea to use global objects like this?
- Replies: 1
- Views: 996
Re: Is it a bad idea to use global objects like this?
I don't think it's a bad idea, as long as it's not conflicting with other codes.
Defining super global variable/object can be useful on certain circumstances.
Defining super global variable/object can be useful on certain circumstances.
- 05 May 2017, 19:39
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
Update 0.2 Changed 1. Subclassed EventsHandler to Dock.EventsHandler 2. Dock.EventsHandler is now a default callback, thereby you can omit Callback 3. several things... see codes and example for more information Added 1. AttachTo method, now you can set a position for docked window. See example 2. C...
- 04 May 2017, 23:16
- Forum: Scripts and Functions (v1)
- Topic: KaiZen - Japanese Kanji Memorization Game
- Replies: 4
- Views: 3181
Re: KaiZen - Japanese Kanji Memorization Game
lollol it may help me to pass jp course in school
- 01 May 2017, 07:27
- Forum: Ask for Help (v1)
- Topic: Please help me set Autohotkey H Password hotkeyit..
- Replies: 5
- Views: 1740
Re: Please help me set Autohotkey H Password hotkeyit..
util.cpp as far as I remember.
Why dont you check Hotkeyit's commits on his repo?
Why dont you check Hotkeyit's commits on his repo?
- 01 May 2017, 06:36
- Forum: Ask for Help (v1)
- Topic: Please help me set Autohotkey H Password hotkeyit..
- Replies: 5
- Views: 1740
Re: Please help me set Autohotkey H Password hotkeyit..
Have you changed pw in souce file? otherwise created executable wont work
- 27 Apr 2017, 23:32
- Forum: Scripts and Functions (v1)
- Topic: [CLASS] Hotkey command wrapper
- Replies: 11
- Views: 6193
Re: [CLASS] Hotkey command wrapper
code has to break all circular references before calling __Delete() or whatever exit function, otherwise __Delete() won't be called by putting an empty value(eg Instance := "") For the same reason, gui wrapper doesn't seem to call __Delete() properly.Besides, I think it is better to add a method tha...
- 25 Apr 2017, 02:01
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
Using the code in the example, if I want to dock multiple windows to the parent window, do I need to define for each docked window one new InitDockX, one new FuncObjX, and call OnMessage for each new FuncObjX? Depends on what you want. I registered OnMessage only to re-pos notepad when user moves t...
- 24 Apr 2017, 04:45
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
... You may get some ideas there. I've used DockA() in the past. I forget what the difference was I also used his codes before, his code and mine act seemingly same, but differs in method. Since DockA() doesn't use hook winevents, but register OnMessage via Gui, it can only attach AutoHotkey Gui (a...
- 24 Apr 2017, 04:29
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Re: Dock - Attach a window to another
oh right.., I know it's not needed, but I've been habituated to do this since I start to use cHelgef wrote:perhaps you mean this.Delete("hwnd") or this.hwnd:="", in any case, it is not needed.
Edit: I don't like those code boxes
- 23 Apr 2017, 02:00
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16337
Dock - Attach a window to another
Dock uses SetWinEventHook functions to attach a window to another.
Since passing a func obj, or boundfunc(including methods) as a 'callback' is possible, you can create your own events handler like in 'Dock Example.ahk' on below
Since passing a func obj, or boundfunc(including methods) as a 'callback' is possible, you can create your own events handler like in 'Dock Example.ahk' on below
- 21 Apr 2017, 07:26
- Forum: Old Topics
- Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
- Replies: 423
- Views: 426613
Re: AutoGUI - GUI Designer and Script Editor
impressive, btw why dont you use github? It would be the easier way for pushing updates