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-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“DefProcs.zip”, 78.9K)
Download Sample (“DefProcs.dmg”, 151.3K)


This folder contains the Apple source code to many of the System Software 6.0.4 defprocs. Apple makes these examples available to developers to help guide in the creation of custom defprocs. butcdef - CDEF for a simple button, radio button, and check box controls LDefProc0 - Standard LDEF that displays text. mdefproc - Standard menu defproc for scrolling and hierarchical menus. rdocproc - WDEF for rounded-corner windows. sbarcdef - Scroll bar CDEF. wprocasm - Standard WDEF for documentProc, dBoxProc, plainDBox, altDBoxProc, noGrowDocProc, zoomdocproc, zoomNoGrow. Keywords: Appearance

Document Revision History

Date Notes
2003-01-14First 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.