cloferba Posted September 28, 2011 Share 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) Link to comment Share on other sites More sharing options...
Spiff59 Posted September 28, 2011 Share 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 Link to comment Share on other sites More sharing options...
cloferba Posted September 28, 2011 Author Share Posted September 28, 2011 thanks, it worked Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now