Do the same with cue files

yo my programm is running now but only with mp3 files if i want to do this with cue file should i do exactly the same like i does here only with cue files :

void CNeroFiddelsDlg::OnBrowse()
{
// TODO: Add your control notification handler code her
(here i would add the endings of some cue files is tha right or wrong i dont know please :bow: help me )
static char BASED_CODE szFilter[] = " MP3 Files (.mp3)|.mp3| All Files (.)| .|";
CFileDialog dlgOpen(TRUE, NULL, NULL, OFN_FILEMUSTEXIST ,szFilter, this);
if(dlgOpen.DoModal() == IDOK)
{
m_strPathName = dlgOpen.GetPathName();
m_strFileName = dlgOpen.GetFileName();
m_edtFilename.SetWindowText(m_strPathName);
if(pndiDeviceInfos->nsdisNumDevInfos >0)
{
m_btnBurn.EnableWindow(true);
}
}
}