PyCScrollView.ResizeParentToFit
tuple = ResizeParentToFit(bShrinkOnly)
Lets the size of a view dictate the size of its frame window.
Parameters
Comments
This is recommended only for views in MDI child frame windows.Use ResizeParentToFit in the OnInitialUpdate handler function of your View class.
You must ensure the parent's PyCFrameWnd::RecalcLayout is called before using this method.