Legacy Mac OS X Reference Library Apple Developer Connection

Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample Code (“ImageBrowserView.zip”, 102.1K)



Description

This sample demonstrates how to subclass from HIView. It implements a simple image browser as a custom view that derives from HIView. Concepts shown are how to handle user input with mouse tracking and keyboard input to navigate the various parts of the view. A target also exists to demonstrate how one would implement the same view using the HIFramework sample code to derive from a C++ class. HIToolbox technologies used include HIView tracking areas, Drag and Drop, and accessibility.

Document Revision History

Date Notes
2005-06-01Implementing a simple HIView subclass
Did this document help you? Yes It's good, but... Not helpful...