| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
If you are interested in provided bundled documents, I can probably
provide some insight by way of example. Try opening Safari and starting the download of a large file. Observe that in your download folder, the ".download" file has a steadily increasing progress bar in its icon. This file is actually a document bundle. Safari is repeatedly updating the "Icon\r" file inside the bundle with a new icon as the download bar gets larger. You could use this approach to put custom icons on your documents as well. Alternatively, if you don't like document bundles, you can add a 'icns' resource to your file with ID -16455. These are basically the techniques shown in SetCustomIcon, so I guess to answer your question, I guess there isn't a simpler way :) Yaron Tadmor wrote: Thanx Eric, I actually saw this sample and still had 2 questions: 1) Is this the easiest way to do this? The code there seems quite long for such a simple task. 2) Can you perhaps explain a bit the concept behind these custom icons? What does finder look for in files and in folders? Perhaps, I can simplify the code to suite my needs. Thanx Yaron-----Original Message----- From: Eric Schlegel [mailto:email@hidden] Sent: Sunday, June 10, 2007 5:00 PM To: Yaron Tadmor Cc: Asterio Rodríguez; carbon-dev Subject: Re: File/Folder icons - normal and custom On Jun 10, 2007, at 8:42 AM, Yaron Tadmor wrote: |
_______________________________________________ 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>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.