comdlg: Send missing CDN_FOLDERCHANGE.
This commit is contained in:
parent
4b5e6b767f
commit
c8106fe754
|
@ -2011,7 +2011,10 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
|
||||||
IPersistFolder2_Release(ppf2);
|
IPersistFolder2_Release(ppf2);
|
||||||
if( ! COMDLG32_PIDL_ILIsEqual(pidlCurrent, fodInfos->ShellInfos.pidlAbsCurrent))
|
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 )
|
else if( nOpenAction == ONOPEN_SEARCH )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue