Jump to content

How to reset progress bar that uses $PBM_SETMARQUEE


qwert
 Share

Recommended Posts

I have a marquee-style progress bar that works just fine ... except that when the associated process stops, the bar stops updating and leaves the bar partially 'lit".  There was a reset style statement that was mentioned as a way to clear it, but it doesn't.

What's the proper way to "reset to 0"? ... equivalent to a normal bar's GuiCtrlSetDate($id, 0).

Thanks for any help.

 

Progress Not Clear.PNG

Link to comment
Share on other sites

Found it!

Quote

GUICtrlSetStyle($AProgress, $PBS_MARQUEE)

$BProgress was the handle to the control ... obtained with $BProgress = GUICtrlGetHandle($AProgress) ... which is required by _SendMessage.  

But resetting the control simply requires setting the style of the ControlID.

Maybe this post will help someone. 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...