memory DC bitmap...
C / C++ / MFC
1
Posts
1
Posters
12
Views
1
Watching
-
Hi, I am writing a ticker. I am using a memDC to draw everything to a bitmap, then blit it to the real DC. My question is: After drawing everything to the memDC then blitting to the real DC. I want to save the memDC as a bitmap. I do the following now: ... // Draw everything to the memDC, then blit it to the real DC. memDC.CreateCompatibleDC(pDC); memBmp.CreateCompatibleBitmap(pDC, m_rectClient.Width(), m_rectClient.Height()); pOldBmp = memDC.SelectObject(&memBmp); ... But when I try to look at the memBmp it has nothing in it. How do I save the memoryBitmap so I can use it the next time I scroll????? Thanks in Advance John Mancini