cloferba 0 Posted September 28, 2011 I want to set a maximized window, but i get this error: GUICreate("Simple Web Browser", 1024, 700, -1, -1, ^ ERROR whats wrong? the code i use is GUICreate("Simple Web Browser", 1024, 700, -1, -1, $WS_MAXIMIZE) Share this post Link to post Share on other sites
Spiff59 54 Posted September 28, 2011 (edited) The actual error message would be useful, but I assume it's complaining that $WS_MAXIMIZE is not defined. Have you parked one of these at the top of your script? #include <WindowsConstants.au3> Edited September 28, 2011 by Spiff59 Share this post Link to post Share on other sites
cloferba 0 Posted September 28, 2011 thanks, it worked Share this post Link to post Share on other sites