Sign in to follow this  
Followers 0
qwert

How to reset progress bar that uses $PBM_SETMARQUEE

2 posts in this topic

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



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. 

 

1 person likes this

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  
Followers 0