共用方式為


CMDIFrameWndEx::OnShowPanes

Called by the framework to show or hide panes.

virtual BOOL OnShowPanes(
   BOOL bShow 
);

Parameters

  • [in] bShow
    TRUE to show panes, FALSE to hide panes.

Return Value

TRUE if the state of the panes changes as a result of calling this method, FALSE if the panes are already in the state specified by bShow. For example, if the panes are hidden and bShow is FALSE, the return value is FALSE.

Remarks

The default implementation removes the toolbar from the top-level frame window.

If CDockingManager::m_bHideDockingBarsInContainerMode is TRUE (the default), all docking panes will be hidden.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart