共用方式為


CMFCTasksPane::SetActivePage

Makes the specified page in the task pane active.

void SetActivePage(
    int nPageIdx
);

Parameters

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

Remarks

This method asserts if the nPageIdx is invalid.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart