Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-15 Thread Mark Hammond
> I tried passing SHCNE_UPDATEDIR to the parent dir of the icons, but > the icons were not refreshed. Win32traceutil also didn't record any > overlay icons requests. Here's how it was done: > > dir = os.path.dirname(path) > pidl, ignore = shell.SHILCreateFromPath(dir, 0) > print "notif

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-15 Thread TK Soh
On Thu, Feb 14, 2008 at 11:56 PM, TK Soh <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 10:55 PM, Mark Hammond > <[EMAIL PROTECTED]> wrote: > > MSDN documents that " For performance reasons, multiple notifications may > > be combined into a single notification. For example, if a large nu

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread Mark Hammond
> I just found out I was passing SHCNF_FLUSHNOWAIT flag to the calls. By > changing the flag to SHCNF_FLUSH, the icons are refreshed correctly > (at least most of the time). Though the delay on refreshing is > noticeable from one icon to the other. But that's not intolerable for > now. That is str

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread TK Soh
On Thu, Feb 14, 2008 at 10:55 PM, Mark Hammond <[EMAIL PROTECTED]> wrote: > MSDN documents that " For performance reasons, multiple notifications may > be combined into a single notification. For example, if a large number of > SHCNE_UPDATEITEM notifications are generated for files in the same f

Re: [python-win32] shell.SHChangeNotify failed to refresh icons

2008-02-14 Thread Mark Hammond
MSDN documents that " For performance reasons, multiple notifications may be combined into a single notification. For example, if a large number of SHCNE_UPDATEITEM notifications are generated for files in the same folder, they can be joined into a single SHCNE_UPDATEDIR notification." which I su