Commit d3b9ff2f authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Make SHChangeNotifyRegister be recursive so that will get all

notifications.
parent a91b2efc
......@@ -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);
......
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