ComboBoxPrefs

Last Revision:
Version 1.1, 2005-10-04
Updated to produce a universal binary. No code changes were required.
Build Requirements:
Xcode
Runtime Requirements:
Mac OS X

ComboBoxPrefs maintains a list of recently accessed pictures within its combo box. It is a chronological list (CFArray) stored via CFPreferences. We also override the standard behavior of the combo box to make it more like an address bar seen in web browsers. When an item from the ComboBox list is double-clicked that item is loaded. ComboBoxPrefs also demonstrates how to create a CGImageRef from a URL pointing to a picture.