Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File/Folder icons - normal and custom




On Jun 11, 2007, at 11:04 AM, Yaron Tadmor wrote:

Hi,



Well, after looking into it I see the way I need to go is this:

1)       Create my custom icon for the package.

2)       Create a "icon\r" file in the package.

3)       Add my image as a resource.



In the sample application that I could find, this is done by creating a PicHandle and converting it into an icon. However, the docs say that the picture functions are deprecated in 10.4.

So what do I use instead to convert my image into an icon??? I'm holding the image in a buffer suitable to be wrapped by a GWorld, but what do I do with it next?
They're deprecated but they still work and there's no other option at the moment as far as I know.

BTW, please use plain text when posting. People getting messages in digest mode see plain text anyway, plain text makes for smaller messages, and plain text lets e-mail clients display messages in the font and size the reader prefers. I'd rather read your messages in the size and color I prefer than small blue text. Thanks.

Larry


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: File/Folder icons - normal and custom (From: "Yaron Tadmor" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.