SHARE
TWEET

xax

a guest Jul 23rd, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <GUIConstantsEx.au3>
  2. #include <UpdownConstants.au3>
  3. #include <SendMessage.au3>
  4. $udms = DllStructCreate("uint nSec; uint nInc")
  5. $udms.nSec = 0
  6. $udms.nInc = 5 ;
  7.  
  8. $hGUI = GUICreate("Test", 500, 500)
  9.  
  10. $cInput = GUICtrlCreateInput(100, 10, 10, 200, 20)
  11. $udm = GUICtrlGetHandle(GUICtrlCreateUpdown(-1, $UDS_ARROWKEYS))
  12. _SendMessage($udm, 1131, 1, DllStructGetPtr($udms));$UDM_SETACCEL
  13.  
  14.  
  15. GUISetState()
  16.  
  17. While 1
  18.  
  19.     Switch GUIGetMsg()
  20.         Case $GUI_EVENT_CLOSE
  21.             Exit
  22.     EndSwitch
  23. WEnd
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top