• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
checking for clipping by other windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: checking for clipping by other windows
      • From: Chase <email@hidden>
  • Prev by Date: Re: Binding not updating
  • Next by Date: Re: autorelease use...
  • Previous by thread: Custom macros as a loop break conditional?
  • Next by thread: Re: checking for clipping by other windows
  • Index(es):
    • Date
    • Thread