I'm having a problem with a DIB that I've selected into a DC to do a TextOut call to. It seems that the text is always BLACK no matter what I do... and I need the text to be white. Any suggestions? Thanks. (sample code below)
HDC hDC = GetDC(hMainWnd);
HDC dcTmp = CreateCompatibleDC(hDC);
HBITMAP hOldBMP = (HBITMAP)SelectObject(dcTmp,m_dibWindow->GetBitmap());
HFONT hOldFont = (HFONT)SelectObject(dcTmp,m_hFont);
// at this point i BLT the DIB to a memory DC and Invalidate the main window...