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-30

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“Calc_ControlRgn.zip”, 118.1K)
Download Sample (“Calc_ControlRgn.dmg”, 195.8K)


This snippet shows how to call a CDEF to get the control's Region. You can make other calls to the CDEF using the same method. This snippet works for both 68K and PowerPC Keywords: CDEF, control

Document Revision History

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