CScrollView::ResizeParentToFit

Call this member function to allow the size of your view to dictate the size of its frame window.

Syntax

void ResizeParentToFit( BOOL bShrinkOnly = TRUE );

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, CView::OnInitialUpdate, CScrollView::SetScrollSizes