 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Solar
Joined: 03 May 2009 Posts: 43 Location: Ohio, USA
|
Posted: Tue May 26, 2009 4:53 pm Post subject: |
|
|
This works:
| Code: | DetectHiddenWindows, On
newSize = w300 h200
Gui, +Resize +MinSize +LastFound
hGui := WinExist()
Gui, Add, ListView, w100 h50 vLV
Gui, Show, Hide ; set MinSize
WinWait, ahk_id %hGui%
Gui, Show, %newSize%
Return
GuiSize:
Anchor("LV", "wh")
Return
GuiEscape:
GuiClose:
ExitApp |
|
|
| Back to top |
|
 |
krisj209
Joined: 16 Nov 2007 Posts: 3 Location: California, USA
|
Posted: Fri Jun 19, 2009 9:04 am Post subject: Titan, you are the man! |
|
|
Thank you for this beautiful script!
You saved me so much time and frustration!  _________________ Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened.
-Sir Winston Churchill |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 537 Location: Texas, USA
|
Posted: Sat Jul 25, 2009 3:01 am Post subject: |
|
|
I just came across the need to use the "Reset" feature of this function (reset by passing only the first parameter) but it doesn't appear to work with the latest version (v4.56). I recall (OK, it's been a while) that this worked in some previous versions of the function. Is is just me or did this option just go away?
To confirm that this option doesn't work anymore, just run the example (first post of this thread) with the latest version of the function (also available in the first post). When running the example script, press F10 to perform the Reset example.
Thank you for your consideration. |
|
| Back to top |
|
 |
tuna
Joined: 03 Oct 2007 Posts: 59 Location: Bristol, England
|
Posted: Sun Jan 31, 2010 6:44 am Post subject: |
|
|
| Yeah, second that. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|