共用方式為


CFrameWndEx::OnShowPanes

Called by the framework to show or hide panes.

virtual BOOL OnShowPanes(
   BOOL bShow
);

Parameters

  • [in] bShow
    TRUE if the application shows the panes; FALSE otherwise.

Return Value

This method always return FALSE.

Remarks

The default implementation shows the panes if bShow is TRUE and the panes are hidden or when bShow is FALSE and the panes are visible.

The default implementation hides the panes if bShow is TRUE and the panes are visible or when bShow is FALSE and the panes are hidden.

Override this method in a derived class to execute custom code when the framework shows or hides panes.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart