Call this member function to scale the viewport size to the current window size automatically.
void SetScaleToFitSize( SIZE sizeTotal );
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CScrollView Overview, CScrollView Member Functions, View Classes, CScrollView::SetScrollSizes, CView::OnInitialUpdate