TCHAR szDestPath[MAX_PATH];
LPCTSTR lpszTitle = _T( "Select the root folder for the browse dialog:" );
UINT uFlags = BIF_RETURNONLYFSDIRS | BIF_USENEWUI;
CFolderDialog dlgRoot(lpszTitle, szDestPath, this, uFlags );
if( dlgRoot.DoModal() == IDOK )
{
lstrcpy(szDestPath, dlgRoot.GetFolderPath());
}
'개발 > Client Side' 카테고리의 다른 글
윈도우 프로그래밍 디버깅 방법 (0) | 2012.07.07 |
---|---|
[MFC] 빈 폴더 삭제(delete empty folder) (0) | 2010.11.19 |
[MFC] 디렉토리 recursive 탐색 소스 코드 (0) | 2010.11.19 |
VMWare에서 MacOS X 해상도 바꾸기 (0) | 2010.09.06 |
VC6 -> VS 2005 변환 후 wchar_t 문제 (0) | 2010.08.31 |