BitBlt? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!



I have some trouble with the following. The code works just fine for Win NT 4, butusing Win 2000 nothing shows.... It's supposed to draw a bitmap on the screen. Does anyone have any tips on what might be wrong?

[code]...View::OnDraw(CDC* pDC)
BITMAP bmpInfo ;
m_bitmap.GetBitmap(&bmpInfo) ;


pDC->BitBlt(10, 10, bmpInfo.bmWidth, bmpInfo.bmHeight, &dcMemory, 0, 0, SRCCOPY);
Sign In or Register to comment.