Version: 1.0

Posted: 2003-02-06

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X 10.2

View Source Code:

Download Sample (“HICustomLeftRightSwitch.zip”, 65.3K)
Download Sample (“HICustomLeftRightSwitch.dmg”, 125.9K)



Description

This simple sample code illustrates how to create a custom left right switch 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. Requirements: Mac OS X 10.2 Keywords: HIView Custom Left Right Switch HIObject Control

Document Revision History

Date Notes
2003-02-06Illustrates how to create a custom left/right switch 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.