#include #include #include #include Dim $idInput GUICreate("UpDown and scroll", -1, -1, -1, -1, $WS_SIZEBOX) $idInput = GUICtrlCreateInput("2", 10, 10, 50, 20) ;~ $hInput = GUICtrlGetHandle($idInput) $idUpdown = GUICtrlCreateUpdown($idInput) ;~ $hUpdown =GUICtrlGetHandle($idUpdown) GUISetState(@SW_SHOW) Local $idMsg While 1 $idMsg = GUIGetMsg() Switch $idMsg Case $GUI_EVENT_CLOSE ExitLoop ;~ Case $idInput ;~ ???? EndSwitch WEnd