CString name(_T("<unknown>"));
<unknown>
if(name.IsEmpty()) name = f->name + _T(" <not registered>");
<not registered>
if(f->fTemporary) name += _T(" <temporary>");
<temporary>
if(!CPath(MakeFullPath(f->path)).FileExists()) name += _T(" <not found!>");
<not found!>
if(f->guids.GetNext(pos) == dlg.m_guid) {AfxMessageBox(_T("Already on the list!")); return;}
Already on the list!
if(f->guids.GetAt(pos) == dlg.m_guid) {AfxMessageBox(_T("Already on the list!")); return;}