★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Human_Interface_Toolbox/CustomIcon.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Human Interface Toolbox: CustomIcon
Human Interface Toolbox
ADC Resources
Sample Code

CustomIcon

download (16.2 KB)

Version:

1.0d1

Date:

Monday, July 19, 1999

Description:


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.




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE