Micahs
Joined: 01 Dec 2006 Posts: 460
|
Posted: Mon Dec 21, 2009 5:57 am Post subject: |
|
|
Try this. It will keep the gui at the bottom-right during gui size changes.
| Code: | Gui, Add, Text,, This should stay at the`nbottom-right of the screen.
Gui, Show, w200 h100
incW=200
incH=100
Loop, 25
{ Sleep, 150
incW += 10
incH += 5
Gui, Show, w%incW% h%incH% NA
}
Return
GuiClose:
ExitApp
Return
GuiSize:
Gui, %A_Gui%:+LastFound
WinGetPos, x, y, w, h
x1 := A_ScreenWidth - w
y1 := A_ScreenHeight - h
WinMove, x1, y1
Return
|
_________________
 |
|
Benny-D
Joined: 29 Feb 2008 Posts: 865
|
Posted: Mon Dec 21, 2009 8:11 am Post subject: |
|
|
WOW, Micahs, thanks a lot. Exactly what I want!!!
While I am thankful to you for this code, I am quite surprised that AHK GUI doesn't have a special feature for this in GUI options. |
|