[MFC] File Open Dialog ( CFileDialog )
MFC&ActiveX 2008. 3. 3. 00:03 |파일 저장 다이얼로그
static char BASED_CODE szFilter[] = "Bitmap Files(*.*)|*.bmp|Jpeg Files(*.*)|*.jpg|Colorplay Files(*.*)|*.colorplay|All Files(*.*)|*.*|";
CFileDialog dlg(TRUE, _T("*.*"), _T("*.*"), OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, szFilter);
dlg.m_ofn.lpstrInitialDir = ""; //기본 경로를 설정한다.
if(dlg.DoModal() == IDOK)
{
}