Disabling .NET progressbar animation when changing value?

后端 未结 5 1341
灰色年华
灰色年华 2020-11-27 05:56

I realize there are other questions on SO regarding animations and progressbars, but they seem to revolve around getting rid of the animation drawn on top of the progress ba

5条回答
  •  遥遥无期
    2020-11-27 06:00

    There is another way to skip the animation of a vista-style progress bar: Just SetState() the control to PBST_PAUSED, then set the value and finally set it back to PBST_NORMAL.

提交回复
热议问题