Ebenfalls WOW!! Das ist super!!
Spoiler anzeigen
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
$UDM_SETACCEL = 1131
$UDM_SETRANGE32 = 1135
$UDACCEL = DllStructCreate("UINT nSec1; UINT nInc1;UINT nSec2; UINT nInc2;UINT nSec3; UINT nInc3")
$pUDACCEL = DllStructGetPtr($UDACCEL)
DllStructSetData($UDACCEL, "nSec1", 0)
DllStructSetData($UDACCEL, "nInc1", 1) ; Sprungweite 1
DllStructSetData($UDACCEL, "nSec2", 3)
DllStructSetData($UDACCEL, "nInc2", 10) ; Sprungweite 10
DllStructSetData($UDACCEL, "nSec3", 6)
DllStructSetData($UDACCEL, "nInc3", 100) ; Sprungweite 100
$hGUI = GUICreate('Test', 220, 100, -1, -1)
$hInput = GUICtrlCreateInput('50', 25, 25, 60, 22);, $ES_READONLY)
$hUpDown = GUICtrlCreateUpdown($hInput)
GUICtrlSendMsg(-1, $UDM_SETRANGE32, 0, 20000) ; Wertebereich 0 - 20000
GUICtrlSendMsg(-1, $UDM_SETACCEL, 3, $pUDACCEL)
GUISetState()
[/autoit] [autoit][/autoit] [autoit]Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
Exit
[/autoit]