I have implemented a print preview in my mdi-application. When the print preview is called the following OnDraw-function will be executed:
void CMyView::OnDraw(CDC* pDC)
CString text=_T("This is a test");
pDC->SetTextColor(RGB(255,0,0)); // or any other color
There is now a problem:
In print preview the text color will not be displayed !!!
The text string will always painted in black !!!
How can I change the color to that I want to have in print preview ?
I can debug the above code and the text color is the one I wanted to have but the screen shows always a black text !!!
Any ideas about that ?