Re: Setting Document Icon
Re: Setting Document Icon
- Subject: Re: Setting Document Icon
- From: Brendan Younger <email@hidden>
- Date: Thu, 14 Oct 2004 23:40:45 -0500
The functions to do this are buried a little ways in the
ApplicationServices framework. Check out HIServices's header Icons.h.
You want any of the functions with a prefix "RegisterIcon". Or, if you
really want to get old-school, you can always have lots of fun with
PBDTAddIconSync().
Brendan Younger
On Oct 14, 2004, at 11:14 PM, Dennis Falling wrote:
Exactly...I don't want it to. That's why the easy solution of setting
my app as the default app for tars (which would then easily let me set
the icons) is not acceptable.
-dennis
On Oct 14, 2004, at 8:10 PM, Daniel Todd Currie wrote:
Sorry, I don't have an answer to your question, but I'm just dying to
know:
Why would you want your app to claim ownership of tar files
throughout the user's system if it is unable to actually open them?
-- DTC
On 2004 Oct 15, at 09:59, Dennis Falling wrote:
I've been looking around for this but haven't had any luck... How
can I change the icon of files that my program creates? Or better
yet, change the icon for all files of that type.
My program tars up files, but it doesn't untar them- so I don't want
those documents to try to open with my program. Is this possible?
Thanks,
-dennis falling
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden