checking for clipping by other windows
checking for clipping by other windows
- Subject: checking for clipping by other windows
- From: Chase <email@hidden>
- Date: Mon, 18 Jul 2005 10:37:31 -0500
the following api doc snippet says that -[NSView visibleRect] does
not tell you if the view is covered by other windows:
- (NSRect)visibleRect
Returns the portion of the receiver not clipped by its superviews.
Visibility is therefore defined quite simply and doesn’t account
for whether other NSViews (or windows) overlap the receiver or
whether the receiver has a window at all. This method returns
NSZeroRect if the receiver is effectively hidden.
... but it doesn't mention what method or function call does.
i just need to know if my window is covered by another window.
anyone know how to do this?
- chase
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden