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 / GUICreate.au3 < prev    next >
Text File  |  2004-09-28  |  307b  |  14 lines

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