CMFCTasksPane::SetPageCaption

Sets the caption text for a task pane page.

void SetPageCaption(
    int nPageIdx,
    LPCTSTR lpszName
);

Parameters

  • [in] nPageIdx
    Specifies the zero-based index of the page.

  • [in] lpszName
    Specifies the caption text to display on the page.

Remarks

If a task pane has multiple pages, the default page has the caption that was set by using this method.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class