Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
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.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-30