CMFCTasksPane::GetPageByGroup

Retrieves the page index for a specified group.

BOOL GetPageByGroup(
    int nGroup,
    int& nPage
) const;

Parameters

  • [in] nGroup
    Specifies the zero-based index of the task group.

  • [out] nPage
    Contains the page index for the specified group. If the task group only contains a default page, the returned value is 0.

Return Value

TRUE if the group nGroup exists; otherwise, FALSE.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class