Global Variable

kCGWindowBounds

Declaration

const CFStringRef kCGWindowBounds;

Discussion

The value for this key is a CFDictionaryRef type that must be decoded to a CGRect type using the CGRectMakeWithDictionaryRepresentation function. The coordinates of the rectangle are specified in screen space, where the origin is in the upper-left corner of the main display.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software