Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample (“ImageBrowserView.zip”, 104.7K)
Download Sample (“ImageBrowserView.dmg”, 155.9K)



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: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.