T
Tony Johansson
Hello!
I have this overridden OnPrepareDC and at the end of this method the base
class OnPrepareDC is called.
If remove the call to the base class this OnPrepareDC work the same. So
calling the base class has not affect in this example.
If you override the OnPrepareDC is it really necessary to call
CView::OnPrepareDC(pDC, pInfo);?
void CEx04aView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo)
{
pDC->SetMapMode(MM_HIMETRIC);
CView::OnPrepareDC(pDC, pInfo);
}
//Tony
I have this overridden OnPrepareDC and at the end of this method the base
class OnPrepareDC is called.
If remove the call to the base class this OnPrepareDC work the same. So
calling the base class has not affect in this example.
If you override the OnPrepareDC is it really necessary to call
CView::OnPrepareDC(pDC, pInfo);?
void CEx04aView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo)
{
pDC->SetMapMode(MM_HIMETRIC);
CView::OnPrepareDC(pDC, pInfo);
}
//Tony