Re: How to avoid this wrong
I think your scroll view will be too large,
the MFC scrollview's length support less then
32,677, please debug into the error or see the
online help.
Re: How to avoid this wrong
In fact, my scroll view includes only one page.
Do you have other advice?
Re: How to avoid this wrong
Are you calling SetScrollSizes() to set the page size? If so, what parameters are you passing? This does not NEED to be done, as the default CScrollView's OnInitialUpdate() sets a default size.
Perhaps you could show us the code in the OnDraw() method, that might give us something to look at.