I have a windows desktop application where I am seeing jitters while scrolling. The WM_PAINT call is being handled failry fast 10ms.
-The WM_PAINT call is being forced using RedrawWindow after handling WM_MOUSEWHEEL so effectively I am drawing in the same cycle synchronously. Could this be a cause of problem by messing with dispatcher? Should I just invalidateRect and handle the paint in the WM_PAINT call. The answer I am looking for is how can I make scroll butter smooth something like chrome, so what should be the right strategy for scrolling.
-Should I draw a large viewPort and scroll on visible area using ScrollWindow and do all the invalidation offscreen, does this strategy work ?