Re: NSCountWindows
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.