CScrollView::SetScaleToFitSize

Call this member function to scale the viewport size to the current window size automatically.

Syntax

void SetScaleToFitSize( SIZE sizeTotal );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CScrollView Overview, CScrollView Member Functions, View Classes, CScrollView::SetScrollSizes, CView::OnInitialUpdate