|
Version: 1.0 Posted: 2003-01-30 Build Requirements: N/A Runtime Requirements: Carbon System 7 Download Sample (icon_cache_demo.zip, 13.1K) |
||||
DescriptionThis sample demonstrates the use of an icon cache to limit the search for icon resource to one resource file. It does this by installing an icon getter function into the cache which calls Get1(Ind)Resource instead of the usual GetResource. The application is meant to display the first suite produced by an indexed resource call. There's nothing stopping you from calling Get1Resource or anything else which might produce a handle to a member of an icon suite. There's also some jiggery-pokery having to do with my distaste for purgeable handles. Requirements: System 7 Keywords: icon, cache, optimization, performance, search Document Revision History
|
|