Page 1 of 1

Openwindow()

Posted: Sun May 22, 2005 9:08 am
by Lee87073
Hi all
Being new to windows programming i could do with a little guidance
Could somebody tell me how to open a window thats is maximised?
Thanks

Posted: Sun May 22, 2005 9:31 am
by Droopy

Code: Select all

ExamineDesktops()
MessageRequester("Résolution",Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0)))
use this value to define the height & width

Posted: Sun May 22, 2005 9:42 am
by Xombie
Try...

Code: Select all

ShowWindow_(WindowHandle, #SW_MAXIMIZE)
WindowHandle returned from WindowID(). This should maximize the window.

Posted: Sun May 22, 2005 7:50 pm
by blueznl