Re: CICN resource into NSImage?...familyhandle
Re: CICN resource into NSImage?...familyhandle
- Subject: Re: CICN resource into NSImage?...familyhandle
- From: Gore <email@hidden>
- Date: Sun, 12 May 2002 01:38:44 +0300
I have tried to convert the cicn resource into a familyhandle but didn't
get the convert to work. Anyone know how to convert a cicn resource into
a family handle? or know another way to do this?
On Saturday, May 11, 2002, at 10:32 , Nathan Day wrote:
I think you can convert it into an IconFamilyHandle using carbon calls
then you can then convert it to an NSImage using the IconFamily class
at http://homepage.mac.com/troy_stephens/software/objects/IconFamily/
it has the methods
+ (IconFamily*)
iconFamilyWithIconFamilyHandle:(IconFamilyHandle)hNewIconFamily;
- (NSImage*) imageWithAllReps;
On Saturday, May 11, 2002, at 01:56 AM, Gore wrote:
How do I load a cicn resource handle into a NSImage ?
It's loaded with this call:
Handle iconH = GetResource( 'cicn', resID );
it is loaded correctly because I can get the correct icon lengh.
But how do I load this into a NSImage to be used in cocoa?
_______________________________________________
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.