comdlg: Send missing CDN_FOLDERCHANGE.

oldstable
Renu Rajput 2006-08-29 13:50:16 +05:30 committed by Alexandre Julliard
parent 4b5e6b767f
commit c8106fe754
1 changed files with 4 additions and 1 deletions

View File

@ -2011,7 +2011,10 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
IPersistFolder2_Release(ppf2);
if( ! COMDLG32_PIDL_ILIsEqual(pidlCurrent, fodInfos->ShellInfos.pidlAbsCurrent))
{
IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser, pidlCurrent, SBSP_ABSOLUTE);
if (SUCCEEDED(IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser, pidlCurrent, SBSP_ABSOLUTE)))
{
SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
}
}
else if( nOpenAction == ONOPEN_SEARCH )
{