# CPane::GetPaneName

Visual Studio 2008

Retrieves the title for the pane.

```virtual void GetPaneName(
CString& strName
) const;
```

## Parameters

[out] strName

A CString object that is filled with the caption name.

## Remarks

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.