TCHAR szFilters[]= _T("RF data file (*.bin)|*.bin||");
// Create an Open dialog; the default file name extension is ".my".
CFileDialog fileDlg(FALSE, _T("bin"), fn,
OFN_FILEMUSTEXIST | OFN_HIDEREADONLY, szFilters);
// Display the file dialog. When user clicks OK, fileDlg.DoModal()
// returns IDOK.