win32: use updated folder browser

This commit is contained in:
OV2 2012-08-12 16:26:31 +02:00
parent 7ed405d6e2
commit 466c3162d6
1 changed files with 1 additions and 0 deletions

View File

@ -5109,6 +5109,7 @@ INT_PTR CALLBACK DlgEmulatorProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lPar
bi.lpszTitle=title;
bi.lpfn = SetSelProc;
bi.lParam = (LPARAM)(LPCSTR) path;
bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_NEWDIALOGSTYLE | BIF_EDITBOX;
iidl=SHBrowseForFolder(&bi);
if(iidl) SHGetPathFromIDList(iidl, path);