Re: Force Finder to redisplay changed custom icon
Re: Force Finder to redisplay changed custom icon
- Subject: Re: Force Finder to redisplay changed custom icon
- From: Clark Mueller <email@hidden>
- Date: Wed, 25 Sep 2002 14:53:10 -0600
Try using NSWorkspace's noteFileSystemChanged method. I have found that
this usually causes updates to attributes to be reflected immediately,
but I've never tried it with icons specifically.
-c
On Wednesday, September 25, 2002, at 09:57 AM, Robert Fischer wrote:
Hi there,
finally I found a way to set/remove custom icons programatically -
with the kind help of IconFamily source code
(http://homepage.mac.com/troy_stephens/software/objects/IconFamily).
One problem still resists: if I set my custom icon once the Finder
will display it correctly. If I want to change the icon again, the
Finder will *not* reflect this until *reboot*! Logout does not help
nor removing the custom icon before.
Where is the magic Carbon function KickFinderIconCacheImmediately()?
Thx in advance,
Robert
--
--- - .-. -- --
--- / \ ---- tin-b Software
.-. / \ --- .-. __o .-. (i)
/ \ / \ / \ _`\<,_ / \ Robert Fischer
/ \ / \ / \ (*)/ (*) / `---------------
/ `---' `-' `-----------'
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.