파일 멀티 선택1 [C++ 소스] 파일 멀티 선택 static CString szFilter = "All Files(*.*)|*.*||"; static CString filetype = "*.*"; CString strbuf; CFileDialog dlg(TRUE, filetype, filetype, OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_ALLOWMULTISELECT, szFilter); dlg.m_ofn.lpstrFile = strbuf.GetBuffer(4096); dlg.m_ofn.nMaxFile = 4096; if(dlg.DoModal() == IDOK) { POSITION pos(dlg.GetStartPosition()); while (pos != NULL) { CString strfile1 = dlg... 2014. 9. 1. 이전 1 다음