Googler24022 Posted May 24, 2005 Posted May 24, 2005 (edited) I have been away and finally decided to come back to code and forgot something.; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template AutoIt script. ; ; ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include <GUIConstants.au3 GUICreate("My GUI" [, 100] ); will create a dialog box that when displayed is centered GUISetState (@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WendThis produces a error. Can someone help me?Nvm i got it! Edited May 24, 2005 by Googler24022
sylvanie Posted May 24, 2005 Posted May 24, 2005 Hello,1)#include <GUIConstants.au3>2)GUICreate("My GUI" , 100 ) remove [] when you specify an option
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