• 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
Re: Finding topmost window of a certain type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding topmost window of a certain type


  • Subject: Re: Finding topmost window of a certain type
  • From: Andy Lee <email@hidden>
  • Date: Tue, 9 Apr 2002 15:03:10 -0400

D'oh! Looks like it does, thanks.

--Andy

At 11:20 AM -0700 4/9/02, Andreas Schwarz wrote:
Doesn't -[NSApplication orderedWindows] do what he wants?

Andreas Schwarz
http://homepage.mac.com/schwarz/

On Tuesday, April 9, 2002, at 09:18 AM, Andy Lee wrote:
For my find window, i want to find the topmost window under it that
responds to a certain selector (findInPage:). I tried looping over
the |windows| list in NSApplication, but that doesn't give me any
kind of zorder info, it just finds the first window created of that
type. I can't use |keyWindow| because the find window is the key
window.

Offhand I don't see anything in AppKit that provides window-ordering
info, though it does seem a reasonable thing to want. Maybe there is
some lower-level magic somewhere. If so, hopefully someone else on
this list will bring it to light...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Finding topmost window of a certain type (From: Andreas Schwarz <email@hidden>)

  • Prev by Date: Re: Enumerator and
  • Next by Date: windowDidBecomeMain: question
  • Previous by thread: Re: Finding topmost window of a certain type
  • Next by thread: Enumerator and
  • Index(es):
    • Date
    • Thread