Legacy Mac OS X Reference Library Apple Developer Connection

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 Code (“HICustomPushButton.zip”, 32.9K)



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 It's good, but... Not helpful...