comdlg: Send missing CDN_FOLDERCHANGE (resend 3)

Renu Rajput renu.rajput at gmail.com
Thu Aug 24 00:04:06 CDT 2006


Hello,

Fixes bug# 5475.

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 )
  {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20060824/2811f247/attachment.html


More information about the wine-patches mailing list