Expand Minimize
This topic has not yet been rated - Rate this topic

CMDIFrameWndEx::OnCloseDockingPane

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.