home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / shareware / autoit-v3-setup.exe / Examples / Helpfile / _GUICtrlComboGetList.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  330 b   |  16 lines

  1. #include <GUIConstants.au3>
  2. #include <GUICombo.au3>
  3.  
  4. GUICreate("My GUI combo")
  5.  
  6. Global $g_idCombo = GUICtrlCreateCombo ("", 10, 10, 100, 120)
  7. GUICtrlSetData($g_idCombo, "item1|item1")
  8.  
  9. GUISetState ()
  10.  
  11. While 1
  12.     If GUIGetMsg() = $GUI_EVENT_CLOSE Then ExitLoop
  13. Wend
  14.  
  15. MsgBox(4096, "", _GUICtrlComboGetList($g_idCombo))
  16.