Using the Finder Interface Creating Customized Document Icons You can create customized icons for your documents.
Users can also create customized icons.
Users of System 7 are able to customize individual icons. By selecting a file and choosing Get Info from the File menu, the user sees the information window for that file. The user can then select the icon displayed in the upper-left corner of the information window and use the Paste command in the Edit menu to replace it with a picture from the Clipboard. The Finder creates a family of icons based on the user's customized icon, assigns a resource ID number of -16455 to each resource in the icon family, stores these resources in the resource fork of the file that the icon represents, and sets the hasCustomIcon bit in the file's Finder flags field. Your application can use the same strategy to provide customized icons for the documents that it creates.