ShadingWinds

Last Revision:
Version 1.0, 2003-01-30
First Version
Build Requirements:
Runtime Requirements:
Carbon

This little application includes code to allow you to detect whether or not the Shell Window is "rolled up" by WindowShade. How do you do this? You check the window's contRgn. If the contRgn is empty, then the window is shaded. You'll note that the grafPort is unchanged by WindowShade, so if you need to save window dimensions, you can grab that information from the portRect.