BCGControlBar Pro for MFC
void CBCGPTasksPane::SetPageCaption ( int  nPageIdx,
LPCTSTR  lpszName 
)

Sets a new caption text to a task pane page.

Use this function to the set caption text of the task pane page. For multipage task panes the default page has the same caption.

Parameters
nPageIdxSpecifies the zero-based index of a page, whose caption text is being set.
lpszNameSpecifies the caption text.