comdlg: Send missing CDN_FOLDERCHANGE.

This commit is contained in:
Renu Rajput 2006-08-29 13:50:16 +05:30 committed by Alexandre Julliard
parent 4b5e6b767f
commit c8106fe754

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 )
{