Partilhar via


CMDIFrameWndEx::OnCloseDockingPane

Called by the framework when the user clicks the Close button on a dockable pane.

virtual BOOL OnCloseDockingPane(
   CDockablePane* pWnd 
);

Parameters

  • [in] pWnd
    Pointer to the pane being closed.

Return Value

TRUE if the docking pane can be closed. Otherwise, FALSE.

Remarks

Override this method to handle hiding of docking panes. Return FALSE if you want to prevent a docking pane from being hidden.

The default implementation does nothing and returns TRUE.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart