Called by the framework when the user clicks the Close button on a dockable pane.
virtual BOOL OnCloseDockingPane(
Pointer to the pane being closed.
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.