MyDeviceLoop

Last Revision:
Version 1.0, 2003-10-10
First Version
Build Requirements:
Runtime Requirements:
Carbon (both 9 and X) CarbonLib

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