> 
> If file size and date stamp on the file were added to the check for
> duplicate wouldn't that be enough to cause the cache to see 
there's new info
> and reload (instead of just file name)? Not sure if it's Bruce 
code, or
> windows code that's doing the check though. Seems like a better 
option than
>

Yes, I thought about this, but its a bit more work for me as I have 
to go through all the other bars and make sure they do not have a 
soon-to-be-invalid handle to the changed bitmap.  Also, the check on 
date would only be made when a new bar or menu actually tried to 
access the file by name (but the same problem happens with the 
nocache option).

I agree the nocache option is inelegant so I guess I will bite the 
bullet and do the extra work to make the filetime version work at 
least.

Of course, the watchfolder approach is the prettiest since if I 
implemented it then the bmp would update automatically without any 
need for something like a setbackground call to signal that a file 
date has to be checked.  But I'll probably go with the filetime 
stuff to keep my life simple.





Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to