Version: 1.1

Posted: 2005-10-17

Build Requirements: Mac OS X v10.4

Runtime Requirements: Mac OS X v10.4

View Source Code:

Download Sample (“HICustomPushButton.zip”, 34.0K)
Download Sample (“HICustomPushButton.dmg”, 88.2K)



Description

This short sample code implements a simple custom push button using the modern HIView APIs. It can be used as a skeleton for more ambitious custom controls

This sample code has been modernized and 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
2005-10-17Updated to produce a universal binary. No code changes were required.
2003-02-06Illustrates how to create a simple custom push button using the HIView functions 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.