The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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

virtual BOOL OnCloseDockingPane(
   CDockablePane* pWnd 

[in] pWnd

Pointer to the pane being closed.

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

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.


Header: afxMDIFrameWndEx.h