char szFilters[] = "DBU Files (*.dbu)|*.dbu||";
CFileDialog dlg(TRUE, "dbu", "*.dbu", OFN_FILEMUSTEXIST, szFilters, this);
if (dlg.DoModal() == IDOK)
{
m_strScriptPath = dlg.GetPathName();
}
FileDialog文件过滤
最新推荐文章于 2025-01-21 20:15:51 发布
