Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-08-28

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“ColorCDEF.zip”, 13.9K)
Download Sample (“ColorCDEF.dmg”, 73.1K)


This working sample defproc emulates the features of the standard button control for system software 7.0 on the macintosh. This defproc, while completely functional is intended as an explanatory example to show some of the basics of writing your own defproc. Keywords: CDEF

Document Revision History

Date Notes
2003-08-28First Version

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.