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

Build Requirements: N/A

Runtime Requirements: Carbon (both 9 and X) CarbonLib

View Source Code:

Download Sample (“MyDeviceLoop.zip”, 43.9K)
Download Sample (“MyDeviceLoop.dmg”, 101.2K)



Description

This sample has been updated for the Carbon API. A device loop procedure searches all active screen devices, calling a drawing procedure whenever it encounters a screen that intersects the drawing region. In this app the drawing region is the app's window bounds and the chosen drawing procedure simply displays the screen's colors for every device the window bounds intersect. Requirements: CarbonLib Keywords: ClipRect, GetNextDevice, GetDeviceList, Carbon

Document Revision History

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