?
void CPView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo)
CView::OnPrepareDC(pDC, pInfo);
if(pDC->IsPrinting())
{
pDC->SetMapMode(MM_ANISOTROPIC);
CRect windowRect(0,0,220,100);
pDC->SetWindowExt(windowRect.Size());
pDC->SetWindowOrg(windowRect.TopLeft());
CRect client;
GetClientRect(&client);
pDC->SetViewportExt(client.Size());
pDC->SetViewportOrg(client.TopLeft());
}
}
Ich habs jetzt mal so probiert. Die Ansicht sieht dann auch ganz brauchbar aus. Nur vestehe ich nicht so ganz, wie ich das ganze nun ins Querformat in der Seitenansicht bekomme.