PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Progress Bar -- Smooth  (Read 432 times)

Anonymous

  • Guest
Progress Bar -- Smooth
« on: August 21, 2005, 04:21:18 AM »

I'm having problems with the Progress Bar's %PBS_SMOOTH variable.  I don't see the intended change.  Is there something else I have to do to so that it will work?

Thanks!

John
Logged

TechSupport

  • Guest
Progress Bar -- Smooth
« Reply #1 on: August 21, 2005, 02:26:13 PM »

What do you mean that you don't see the change???? I created a sample project, added a ProgressBar control, and then set the WindowStyles property to allow for the PBS_SMOOTH.

In your code, you need to change the value of the progressbar in order to see the bar move. I used the FF_ProgressBar_StepIt function to do that.
Logged

Anonymous

  • Guest
Progress Bar -- Smooth
« Reply #2 on: August 21, 2005, 05:46:08 PM »

I'm still having the problem.  I made a simple form (just a button and a progress bar), but it's still not working (at least how I think it is supposed to).  Can you check it out when you have some time?  I'll send it to you.  Thanks!

John
Logged

TechSupport

  • Guest
Progress Bar -- Smooth
« Reply #3 on: August 21, 2005, 11:12:19 PM »

As per our off-forum emails, this is a WinXP Theme issue. Smooth progress bars are only supported under the Classic Theme. Too bad.
Logged

Roger Garstang

  • Guest
Progress Bar -- Smooth
« Reply #4 on: August 22, 2005, 02:49:38 PM »

Yup, and most of the colors on controls are only supported in Classic too.  XP likes to control all colors on things.  There are a few custom/3rd party progress bars all over the place at PB and such...even some cool 3D ones, and it wouldn't be hard to make one too.  It would be a cool project to make a control for FF that was just like the Windows control, but allowed all different colors and not just stuck in the Windows color scheme...maybe it could even allow for the Windows colors like the other controls in FF too.  I think the 1st place Bible Code at PB had progress bars of different colors...could be a good start there.
Logged

Peter Jinks

  • Guest
Progress Bar -- Smooth
« Reply #5 on: August 22, 2005, 11:32:25 PM »

Another good starting point would be Borje Hagsten's 3D ProgressBar, which is Public Domain.

See http://www.tolkenxp.com/pb/pgbar3d.htm

Pete.
Logged