Jump to content
Sign in to follow this  
cloferba

Problem with GUICreate

Recommended Posts

cloferba

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

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 by Spiff59

Share this post


Link to post
Share on other sites
cloferba

thanks, it worked :graduated:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×