icon cache demo

Last Revision:
Version 1.0, 2003-01-30
Demonstrates the use of an icon cache to limit the search for icon resource to one resource file.
Build Requirements:
Runtime Requirements:
Carbon System 7

This 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