41
Developer's Corner / Re: Minimizing all windows except one in AHK - call for help
« on: November 11, 2008, 04:18 PM »
Ok, i found the solution to my problem and thought it might be useful to others so here it is.
I noticed that the problematic programs used tabs (Freecommander does, PSPad too) and realized that ahk detected the active tab as a window. So, i took a look at those tabs' window style and noticed that they had this one in common : WS_POPUP - 0x80000000. I added a condition to exclude windows containing this particular style and the problem is now solved :)
Of course now i'm facing another problem but i'm glad to be moving forward :)
Now, let me tell you about this script i'm working on. Its temporary name is Dumdum (don't ask why, i have no idea) and its purpose is to mimic the Aero Shake feature of Windows 7. You can try it, but first you have to know that it is a very early version. Right now, if you shake a window, it will minimize all others, but if you shake it again they won't come back (it is, of course, in the todo list). Another problem : sometimes, you shake a window and after the other windows have been minimized, the active window is not "dragged" anymore and goes back to its original place. It's hard to explain but i think you'll figure it out if you try. I couldn't find the origin of this bug yet.
Here it is :
In the future, the user will be able to choose the "shaking sensitivity" and the windows behaviour (minimize other windows, minimize active window, close active window etc).
I noticed that the problematic programs used tabs (Freecommander does, PSPad too) and realized that ahk detected the active tab as a window. So, i took a look at those tabs' window style and noticed that they had this one in common : WS_POPUP - 0x80000000. I added a condition to exclude windows containing this particular style and the problem is now solved :)
Of course now i'm facing another problem but i'm glad to be moving forward :)
Now, let me tell you about this script i'm working on. Its temporary name is Dumdum (don't ask why, i have no idea) and its purpose is to mimic the Aero Shake feature of Windows 7. You can try it, but first you have to know that it is a very early version. Right now, if you shake a window, it will minimize all others, but if you shake it again they won't come back (it is, of course, in the todo list). Another problem : sometimes, you shake a window and after the other windows have been minimized, the active window is not "dragged" anymore and goes back to its original place. It's hard to explain but i think you'll figure it out if you try. I couldn't find the origin of this bug yet.
Here it is :
In the future, the user will be able to choose the "shaking sensitivity" and the windows behaviour (minimize other windows, minimize active window, close active window etc).