Jump to content

Progressbar not getting completely filled


Recommended Posts

Posted

Hello,

I have a rectangular shape progressbar which I would like to be filled by pressing a button. but my problem is that it won't fill the whole progressbar and a little portion of it fron the end will remain empty.

does this have anything to do with my customdrawing function? I am using gwinProgressbarDraw_Std().

Thanks,

Posted (edited)

image.png.77160384ae1bdcdda5014341c7582816.png

 

So imagine this is my progressbar and the max pos that it will fill is shown in black.

I am using custom rendering function which is a transparent version of  gwinProgressbarDraw_Std()

Edited by Asaliii
Posted

When you commented out the fillarea calls you forgot to also comment out the if statement just before it. The if statement still being there is causing the following if statement to also be conditioned.

Comment out the if statement just before the commented out fillarea statements and I suspect it will work.

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
×
×
  • Create New...