CScrollView::SetScaleToFitSize

This method scales the viewport size to the current window size automatically.

At a Glance

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

Syntax

void SetScaleToFitSize( SIZE sizeTotal );

Remarks

Because Windows CE only supports the MM_TEXT mapping mode, this method does not do anything in MFC for Windows CE.

See Also

CScrollView::SetScrollSizes, CView::OnInitialUpdate