- void CExample17Dlg::OnBnClickedOpenButton()
- {
- // TODO: Add your control notification handler code here
- // 设置过滤器
- // 构造打开文件对话框
- CFileDialog fileDlg(TRUE, _T("txt"), NULL, 0, szFilter, this);
- CString strFilePath;
-
- // 显示打开文件对话框
- if (IDOK == fileDlg.DoModal())
- {
-
C++ MFC / VS2013 之十五(对话框:文件对话框)
•
行业观察
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!