CFrameWnd::RecalcLayout

virtualvoidRecalcLayout(BOOLbNotify**=TRUE);**

Parameters

bNotify

Determines whether the active in-place item for the frame window receives notification of the layout change. If TRUE, the item is notified; otherwise FALSE.

Remarks

Called by the framework when the standard control bars are toggled on or off or when the frame window is resized. The default implementation of this member function calls the CWnd member function RepositionBars to reposition all the control bars in the frame as well as in the main client window (usually a CView or MDICLIENT).

Override this member function to control the appearance and behavior of control bars after the layout of the frame window has changed. For example, call it when you turn control bars on or off or add another control bar.

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::RepositionBars