comdlg: Send missing CDN_FOLDERCHANGE (resend)
Renu Rajput
renu.rajput at gmail.com
Tue Aug 29 03:20:16 CDT 2006
Hi,
Attached is the patch file for bug # 5475.
Thanks
Renu
-------------- next part --------------
diff -urN OldDir/dlls/comdlg32/filedlg.c NewDir/dlls/comdlg32/filedlg.c
--- OldDir/dlls/comdlg32/filedlg.c 2006-08-10 18:45:12.000000000 +0530
+++ NewDir/dlls/comdlg32/filedlg.c 2006-08-11 16:09:32.000000000 +0530
@@ -2011,7 +2011,10 @@
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 )
{
More information about the wine-patches
mailing list