[msctls_progress32] PBS_SMOOTHREVERSE

Hi,

I'm experimenting with the new progress bar features and have problems with the PBS_SMOOTHREVERSE window style. Setting this style doesn't seem to have any effect. Is Vista itself using this style anywhere What makes a progress bar with this style different from one with PBS_SMOOTH Must this style be combined with PBS_SMOOTH

Thanks in advance
TiKu



Answer this question

[msctls_progress32] PBS_SMOOTHREVERSE

  • Warren LaFrance

    Ah, I see, many thanks.


  • bfarr23

    PBS_SMOOTHREVERSE just indicates that when going from a "higher" progress position to a "lower" position that the progress bar should smoothly transition to that lower position.

    For example, given:

    PBS_SETRANGE(0, 100)

    PBS_SETPOS(50)

    PBS_SETPOS(0)

    without PBS_SMOOTHREVERSE, the progressbar will "jump" from 50 to 0. With that set, you'll see a nice transition from 50 to 0.



  • [msctls_progress32] PBS_SMOOTHREVERSE