Dela via


CMFCTasksPane::AddMRUFilesList

Adds a task for each file stored in a Most Recently Used (MRU) files list into a group.

int AddMRUFilesList(
    int nGroup,
    int nMaxFiles = 4
);

Parameters

  • [in] nGroup
    Specifies the index of a group. This method adds the MRU files list to the group specified by this parameter.

  • [in] nMaxFiles
    Specifies the number of files to display in the MRU files list.

Return Value

The zero-based index of the group where the MRU files list was added, or -1 if the group specified by nGroup does not exist.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class