Partager via


CPane::RecalcLayout

Recalculates layout information for the pane.

virtual void RecalcLayout();

Remarks

If the pane is docked, this method updates the virtual rectangle for the pane by setting its size to the current size of the pane.

If the pane is floating, this method notifies the parent mini-frame to adjust the size of the pane to the size of the mini-frame. The framework ensures that the mini-frame is at least the minimum allowed size for the pane (CPane::GetMinSize) and resizes the mini-frame if necessary.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart