• 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: NSCountWindows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCountWindows


  • Subject: Re: NSCountWindows
  • From: Jeremy Dronfield <email@hidden>
  • Date: Thu, 15 Aug 2002 13:29:04 +0100

On Thursday, August 15, 2002, at 09:57 am, jean Bousquet wrote:

NSCountWindows counts the number of on-screen windows belonging to an
application.

No, NSCountWindows counts _all_ on-screen windows. To get the windows belonging to your app, you need NSCountWindowsForContext. You can also use [[NSApp windows] count], but as this includes off-screen windows in the count it may be no use to you.

-Jeremy

=======================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
_______________________________________________
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:NSCountWindowsForContext : How to get the context ?
      • From: jean Bousquet <email@hidden>
References: 
 >NSCountWindows (From: jean Bousquet <email@hidden>)

  • Prev by Date: URL parsing
  • Next by Date: Re: URL parsing
  • Previous by thread: NSCountWindows
  • Next by thread: Re:NSCountWindowsForContext : How to get the context ?
  • Index(es):
    • Date
    • Thread