Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

© 2015 Microsoft