Winforms panel event after scroll
        Posted  
        
            by Charlie boy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Charlie boy
        
        
        
        Published on 2010-05-20T08:24:31Z
        Indexed on 
            2010/05/20
            8:30 UTC
        
        
        Read the original article
        Hit count: 391
        
Hello
I have a panel in wich I do a bounch af rater complex drawing in the paint event. Since the drawing-code is kind of heavy, it gets rather twitchy when I scroll the panel, since the paint event is raised in such short intervals.
My question is really this; Can i capture evnts such as "on scroll start" and "on scroll end" on a winforms control? If so, I could then just pause the drawing-code until the scroll is complete.
Thanks in advance!
© Stack Overflow or respective owner