Deaktiviert die Aktualisierung des Control-Items bis _EndUpdate aufgerufen wird
#include <GuiComboBox.au3>
_GUICtrlComboBox_BeginUpdate ( $hWnd )
$hWnd | Control-ID / Handle des Controls |
Erfolg: | True |
Fehler: | False |
- - - - - - - - Erklärung der Controls - - - - - - - -
#include <GUIComboBox.au3>
#include <GuiConstantsEx.au3>
Example()
Func Example()
Local $idCombo
; Erstellt eine GUI
GUICreate("ComboBox: Updaten starten", 400, 296)
$idCombo = GUICtrlCreateCombo("", 2, 2, 396, 296)
GUISetState(@SW_SHOW)
; Fügt Dateien hinzu
_GUICtrlComboBox_BeginUpdate($idCombo)
_GUICtrlComboBox_AddDir($idCombo, @WindowsDir & "*.exe")
_GUICtrlComboBox_EndUpdate($idCombo)
; Die Schleife wiederholt sich, bis der Benutzer die Beenden-Aktion der GUI auslöst.
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>Example