Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“CustomIcon.zip”, 14.3K)
Download Sample (“CustomIcon.dmg”, 74.7K)


This snippet shows how to use custom document icons in an application. The correct procedure for doing this is to add the Icon family to the document and set bit 10 of the finder info. An elegant way of adding the icon family is to use one of the routines described in the Icon Utilities chapter of Inside Macintosh More Toolbox Essentials: ForEachIconDo(). You can define an action proc that is called each time for each icon an an icon suite. Keywords: custom, icons

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.