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 / GUIDelete.au3 < prev    next >
Text File  |  2004-12-04  |  329b  |  15 lines

  1. #include <GUIConstants.au3>
  2.  
  3. GUICreate("My GUI")  ; will create a dialog box that when displayed is centered
  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. GUIDelete();    ; will return 1
  15.