Hello

I built a MFC Pocket PC 2003 application with the appropriate wizzard in VS
2005. Instead of the CView base class I use CScrollView. Now, drawing (in the
emulator) doesn't work properly when sliding the scrollbars.

Inside my OnInitialUpdate() methode I set the scroll pane size to 1000x1000.

void CMFCTestView::OnInitialUpdate() {
CScrollView::OnInitialUpdate();

CSize sizeTotal;
sizeTotal.cx = sizeTotal.cy = 1000;
SetScrollSizes(MM_TEXT, sizeTotal);
}

My drawing method is:

void CMFCTestView::OnDraw(CDC* pDC)
{
CMFCTestDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);

pDC->Ellipse(0,0,1000,1000);
}

How can I fix that problem?

--
Thanks for help.
Chris