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

Finding topmost window of a certain type


  • Subject: Finding topmost window of a certain type
  • From: email@hidden (Mike Pinkerton)
  • Date: Tue, 09 Apr 2002 10:54:42 -0400
  • Organization: Netscape Communications

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.

How do people normally do stuff like this?

--
Mike Pinkerton
Mac Browser Weenie
email@hidden http://people.netscape.com/pinkerton
_______________________________________________
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.

  • Follow-Ups:
    • Re: Finding topmost window of a certain type
      • From: Andy Lee <email@hidden>
    • Re: Finding topmost window of a certain type
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: ObjC and C++
  • Next by Date: Re: Finding topmost window of a certain type
  • Previous by thread: Re: ObjC and C++
  • Next by thread: Re: Finding topmost window of a certain type
  • Index(es):
    • Date
    • Thread