Commit 82af0ed0 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Send CDN_FOLDERCHANGE whenever we change folder.

parent 34597093
...@@ -2220,6 +2220,7 @@ static BOOL FILEDLG95_SHELL_UpFolder(HWND hwnd) ...@@ -2220,6 +2220,7 @@ static BOOL FILEDLG95_SHELL_UpFolder(HWND hwnd)
NULL, NULL,
SBSP_PARENT))) SBSP_PARENT)))
{ {
SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
return TRUE; return TRUE;
} }
return FALSE; return FALSE;
...@@ -2241,6 +2242,7 @@ static BOOL FILEDLG95_SHELL_BrowseToDesktop(HWND hwnd) ...@@ -2241,6 +2242,7 @@ static BOOL FILEDLG95_SHELL_BrowseToDesktop(HWND hwnd)
SHGetSpecialFolderLocation(0,CSIDL_DESKTOP,&pidl); SHGetSpecialFolderLocation(0,CSIDL_DESKTOP,&pidl);
hres = IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser, pidl, SBSP_ABSOLUTE); hres = IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser, pidl, SBSP_ABSOLUTE);
SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
COMDLG32_SHFree(pidl); COMDLG32_SHFree(pidl);
return SUCCEEDED(hres); return SUCCEEDED(hres);
} }
...@@ -2692,6 +2694,7 @@ static BOOL FILEDLG95_LOOKIN_OnCommand(HWND hwnd, WORD wNotifyCode) ...@@ -2692,6 +2694,7 @@ static BOOL FILEDLG95_LOOKIN_OnCommand(HWND hwnd, WORD wNotifyCode)
tmpFolder->pidlItem, tmpFolder->pidlItem,
SBSP_ABSOLUTE))) SBSP_ABSOLUTE)))
{ {
SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
return TRUE; return TRUE;
} }
break; break;
...@@ -3363,8 +3366,8 @@ static BOOL BrowseSelectedFolder(HWND hwnd) ...@@ -3363,8 +3366,8 @@ static BOOL BrowseSelectedFolder(HWND hwnd)
' ','n','o','t',' ','e','x','i','s','t',0}; ' ','n','o','t',' ','e','x','i','s','t',0};
MessageBoxW( hwnd, notexist, fodInfos->title, MB_OK | MB_ICONEXCLAMATION ); MessageBoxW( hwnd, notexist, fodInfos->title, MB_OK | MB_ICONEXCLAMATION );
} }
bBrowseSelFolder = TRUE; bBrowseSelFolder = TRUE;
SendCustomDlgNotificationMessage(hwnd,CDN_FOLDERCHANGE);
} }
COMDLG32_SHFree( pidlSelection ); COMDLG32_SHFree( pidlSelection );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment