CFrameWnd::RecalcLayout 函数详解:
Called by the framework when the standard control bars are toggled on or off or when the frame window is resized.
当标准工具栏或状态栏隐藏或者显示,或者窗口调整大小时,框架调用这个方法。
方法原型为:
virtual void RecalcLayout(
BOOL bNotify = 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.
决定是否将焦点项目传递这个变化,如果是TRUE就通知子项目,否则,不传递。