Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Modifying Resources
The Resource Manager provides two routines that change theresChangedattribute of a specified resource. TheChangedResourceprocedure allows you to indicate that a resource in memory has been changed, and theAddResourceprocedure allows you to add a new resource to a resource map.If the
resChangedattribute for a resource has been set and your application callsUpdateResFileor quits, the Resource Manager writes both the entire resource map and the resource data for that resource to the resource fork of the corresponding file on disk. If theresChangedattribute has been set and your application callsWriteResource, the Resource Manager writes only the resource's data to disk.
Subtopics
- ChangedResource
- AddResource
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |