home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / GUISetState.au3 < prev    next >
Text File  |  2005-01-07  |  285b  |  14 lines

  1. #include <GUIConstants.au3>
  2.  
  3. GUICreate ("My GUI")                 ; start the definition
  4.  
  5. GUISetState ()                         ; will display an empty dialog box
  6.  
  7. ; Run the GUI until the dialog is closed
  8. While 1
  9.     $msg = GUIGetMsg()
  10.     
  11.     If $msg = $GUI_EVENT_CLOSE Then ExitLoop
  12. Wend
  13.  
  14.