CPaneFrameWnd::SizeToContent
Adjusts the size of a mini-frame window so that it is equivalent to a contained pane.
virtual void SizeToContent();
Remarks
Call this method to adjust the size of a mini-frame window to the size of a contained pane.
Requirements
Header: afxPaneFrameWnd.h