RECT r = Window.GetRect()
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.
Thanks! That was too easy. Of course finding that in the help would have taken me till my next life! [img]images/icons/smile.gif[/img]
Yes, it really IS rocket science!
window.Size (iWidth, iHeight)
To resize to something other than Min,Max, or restore
wState = window.GetState ( )
GetState returns a WINSTATE value specifying the state of the window: WS_NORMAL, WS_MAXIMIZED, or WS_MINIMIZED.
window.Maximize ( )
window.Minimize ( )
window.Restore ( )
Does anyone know how to determine the size of a window within ST? I want to determine the size of the browswer and resize it if it's not what I expect.