Make SHChangeNotifyRegister be recursive so that will get all

notifications.
This commit is contained in:
Ulrich Czekalla 2004-02-02 23:09:09 +00:00 committed by Alexandre Julliard
parent a91b2efc74
commit d3b9ff2f8a
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ static LRESULT ShellView_OnCreate(IShellViewImpl * This)
if (ppf2)
{
IPersistFolder2_GetCurFolder(ppf2, (LPITEMIDLIST*)&ntreg.pidl);
ntreg.fRecursive = FALSE;
ntreg.fRecursive = TRUE;
This->hNotify = SHChangeNotifyRegister(This->hWnd, SHCNF_IDLIST, SHCNE_ALLEVENTS, SHV_CHANGE_NOTIFY, 1, &ntreg);
SHFree((LPITEMIDLIST)ntreg.pidl);
IPersistFolder2_Release(ppf2);