name22

Progressbar Marquee Example

Jul 19th, 2013
394
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <GUIConstants.au3>
  2. #include <ProgressConstants.au3>
  3.  
  4. $hWnd = GUICreate("Test", 200, 100)
  5. $cProgress = GUICtrlCreateProgress(10, 48, 180, 25, $PBS_MARQUEE)
  6. GUISetState()
  7.  
  8. GUICtrlSendMsg($cProgress, $PBM_SETMARQUEE, True, 20)
  9.  
  10. While True
  11.     Switch GUIGetMsg()
  12.         Case $GUI_EVENT_CLOSE
  13.             Exit
  14.     EndSwitch
  15. WEnd
RAW Paste Data