Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CustomIcon
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14