CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    76

    slow toolstrip progress bar

    hi

    i am using a toolstripprogressbar in an application. I increment this using
    PerformStep(), which is called on the tick event of a timer.

    When I set the progressbar range from 0 to 9, and the timer interval to 100 milliseconds, so that it should reach its max value after 1 second, I find that the progressbar is not re-drawn qucikly enough.

    It seems that there is a delay before the progressbar is re-drawn.

    Is there anyway to force or speed up the redraw of the progressbar.

    OS is 32 bit vista professional
    using VS2005

    cheers

    simon

  2. #2
    Join Date
    Jan 2003
    Posts
    76

    Re: slow toolstrip progress bar

    Got a solution to this

    I have drawn my own progress bar, it actually looks ok when using a LinearGradientBrush, and it redraws when I want it to redraw

    cheers

    simon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured