CString tStr = "Mp3 File(*.mp3)|*.mp3|";
tStr += "Wma File(*.wma)|*.wma|";
tStr += "Avi File(*.avi)|*.avi|";
tStr += "Mid File(*.mid)|*.mid|";
tStr += "Mpeg File(*.mpeg)|*.mpeg|";
tStr += "All Files(*.*)| *.*||";
CFileDialog tFileDlg(TRUE, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, tStr, NULL);
if (IDOK == tFileDlg.DoModal())
{
}
else
{
}
时间: 2024-09-26 05:47:14