Retrieves the title for the pane.
virtual void GetPaneName(
A CString object that is filled with the caption name.
The pane title is displayed in the caption area when the pane is docked or floating. If the pane is part of a tabbed group, the title is displayed in the tab area. If the pane is in auto-hide mode, the title is displayed on a CMFCAutoHideButton.