Jump to content
Sign in to follow this  
qwert

How to reset progress bar that uses $PBM_SETMARQUEE

Recommended Posts

qwert

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

Share this post


Link to post
Share on other sites
qwert

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. 

 

  • Like 1

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.