Son of Grab

Last Revision:
Version 1.1, 2010-01-25
Editorial changes, now builds 3-way Universal (ppc, i386, x86_64).
(Full Revision History)
Build Requirements:
Mac OS X 10.6, Xcode 3.2
Runtime Requirements:
Mac OS X 10.5

Shows how to use the new CGWindow API to get images of arbitrary sets of windows, including images of the current contents of the screen. If you need to support Mac OS X 10.4, then you may wish use the techniques demonstrated in OpenGLScreenSnapshot <> or OpenGLScreenCapture <>.