폴더지정 창 열기
Posted by Go crazy for anything that will make you smile.
CString strFolderName = _T("") ITEMIDLIST *pildBrowse; char pszPathname[MAX_FOLDERNAME_SIZE]; BROWSEINFO bInfo; memset( &bInfo, 0, sizeof(bInfo)); bInfo.hwndOwner = GetSafeHwnd(); bInfo.pidlRoot = NULL; bInfo.pszDisplayName = pszPathname; bInfo.lpszTitle = _T("폴더를 선택하세요"); bInfo.ulFlags = BIF_RETURNONLYFSDIRS; pildBrowse = ::SHBrowseForFolder(&bInfo); if( pildBrowse != NULL ) { SHGetPathFromIDLi..