Version: 1.2.3

Posted: 2006-03-03

Build Requirements: Mac OS X 10.2

Runtime Requirements: Mac OS X 10.2

View Source Code:

Download Sample (“HISimpleList.zip”, 75.7K)
Download Sample (“HISimpleList.dmg”, 135.6K)



Description

This simple sample code illustrates how to create a simple list using the HIView APIs available in Mac OS X 10.2 and later. It's a more complex custom HIView than the more simple HICustomPushButton provides although it uses the same skeleton.

This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems.

Document Revision History

Date Notes
2006-03-03Better handling of the keyboard-controlled scrolling in the kEventScrollableScrollThere handler.
2005-08-10Updated to produce a universal binary. No code changes were required.
2005-05-05Minor fixes to handle correctly short lists.
2003-02-06Illustrates how to create a simple list using the HIView APIs introduced in Mac OS X 10.2.

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.