Instance Property

displaysWhenScreenProfileChanges

A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen.

Declaration

@property BOOL displaysWhenScreenProfileChanges;

Discussion

The value of this property is YES when the window context should be updated when the ColorSync profile of the current screen changes or when a majority of the window is moved to a different screen whose profile is different than the previous screen; otherwise, NO. The default value is NO.

After the window context is updated, the window is told to display itself. If you need to update offscreen caches for the window, you should register to receive the NSWindowDidChangeScreenProfileNotification notification.

See Also

Accessing Screen Information

screen

The screen the window is on.

deepestScreen

The deepest screen the window is on (it may be split over several screens).