This method is called when the view is about to be updated. Call it in your override of the OnUpdate method to adjust scrolling characteristics when, for example, the document is initially displayed or when it changes size.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void SetScrollSizes( int nMapMode, SIZE sizeTotal,
const SIZE& sizePage = sizeDefault, const SIZE& sizeLine = sizeDefault );
Windows CE only supports the MM_TEXT value for the nMapMode parameter.
CScrollView::SetScaleToFitSize, CScrollView::GetDeviceScrollSizes, CScrollView::GetTotalSize