What is the best way to implement smooth scrolling (and get rid of "flickering" when re-drawing) using MS VC++ & MFC? With Motif I used a offscreen pixmap to draw to then bitblipped it to the screen - that worked fine. At the moment I am using a bitmap created with "CreateCompatibleBitmap" in CView::OnInitialUpdate then in OnDraw creating a temporary DC, selecting the bitmap into it, and drawing to that DC. It works but still seems pretty slow. Any hints/solutions would be appreciated. Thanks!
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.