共用方式為


CPane::AdjustSizeImmediate

Immediately recalculates the layout of a pane.

virtual void AdjustSizeImmediate(
   BOOL bRecalcLayout = TRUE
);

Parameters

  • [in] bRecalcLayout
    TRUE to automatically recalculate the layout of the pane; otherwise, FALSE.

Remarks

Call this method when you dynamically change the layout of a pane. For example, you may want to call this method when you hide or show toolbar buttons.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart