ADC Home > Reference Library > Technical Q&As > Legacy Documents > Mac OS 9 & Earlier >
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:
|
Q
Where do I get the standard icons for a folder, generic document, disk
volume, etc.? A The resource ID's of many of the desirable icon suites are documented starting on page 1-129 of Inside Macintosh: More Macintosh Toolbox in the section called "Standard Icons". It's a safe bet these resource ID's will remain usable into the indefinite future. However, some commonly requested icons are not available
programmatically, or at least their resource ID's are not documented in
Inside Macintosh. These icons include many of the icons Finder displays
for For now, the best way to obtain an icon whose ID is not documented in Inside Macintosh is to find the icon you like (most of the interesting ones can be found in the "System", "Finder", or "Appearance Extension" files) and copy it into your application resource fork (being careful to renumber it to something above 127, of course). One thing you'll want to avoid is searching the system files for icons and using their ID's in your program. In the future, icons with undocumented ID's may not have the ID's they have today, and in fact they may not even have the same resource type! We do not expect that any of these icons (including the documented ones) will change according to theme. [Dec 23 1997] |
|