Is there a way to clear the recent file list under the File menu? I try to do something with "m_pRecentFileList" but so far no success yet with error C2027: use of undefined type 'CRecentFileList'.
BOOL CMRCApp::InitInstance()
{
...
while (m_pRecentFileList->GetSize() > 0)
m_pRecentFileList->Remove(0); // no Clear function ??
return TRUE;
}
Edit
After fixing the compilation error, the while loop becomes infinite. The Remove(...) function doesn't seem to decrement the list.