PDA

View Full Version : i cannot call pDC->SetMapMode(MM_LOMETRIC)?



lanhan
01-08-2003, 06:45 PM
void CMyGLView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo)
{
pDC->SetMapMode(MM_LOMETRIC);
CView::OnPrepareDC(pDC, pInfo);
}
when i call "pDC->SetMapMode(MM_LOMETRIC);
"in my OpenGL/MFC,no line drawed out.
why?