BCGControlBar Pro for MFC
int CBCGPTasksPane::AddMRUFilesList ( int  nGroup,
int  nMaxFiles = 4 
)

Adds tasks specified by MRU file list into a group.

Returns
The zero-based index in the internal group list if the function succeeds; it's -1 if the specifies by nGroup group does not exist.

Use this function to add tasks specified by the MRU file list into a group. The returned index should be used for the consequent task operations.

Parameters
nGroupThe group index.
nMaxFilesSpecifies the number of files to get.