Hi,
In my sdi application, when i try to use draw text, nothing appear. I tried DT_NOCLIP and i noticed that the text was drawn under the rect i send to the function
Code:
CRect rc(re.m_Location,re.m_Size);
		switch(GetDocument()->m_ReportElement[i].m_Type) {
			case RECTANGLE:
				pDC->Rectangle(rc);
				break;
			case ELIPSE:
				pDC->Ellipse(rc);
				break;
			case TEXT:
				//int OLDMODE = pDC->SetMapMode(MM_TEXT); // old mode is MM_ISOTROPIC
				pDC->Rectangle(rc);
				pDC->DrawText("top", &rc, DT_LEFT | DT_TOP);
				//pDC->SetMapMode(OLDMODE);
				//pDC->TextOut(rc.left, rc.top, re.m_Text);
				break;
		}
Anyone can explain me why and give me a solution for the text to be drawn in the rect.
Thanks