Original Post
Ok im trying to implement double buffering and its not working and i cant find any articles on the toic, so here is what i am doing
HDC screenDC = GetDC(NULL);
HDC backDC = CreateCompatibleDC(screenDC);
TransparentImage( backDC,
(LONG)posX, (LONG)posY, (LONG)width, (LONG)height, bitmapDC,
0, 0, (LONG)width, (LONG)height,
RGB(255, 0, 255)); //Going to make this constant for now
BitBlt(screenDC,
0, 0,
GetDeviceCaps(screenDC, HORZRES), GetDeviceCaps(screenDC, VERTRES),
backDC,
0, 0,
SRCCOPY);
ReleaseDC(0, backDC);
Just turns the screen white. my objects do not draw... please help me!!!