home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 January / PCWELT_1_2006.ISO / pcwsoft / autoit-v3-setup.exe / Examples / GUIDelete.au3 < prev    next >
Encoding:
Text File  |  2004-12-04  |  329 b   |  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.