• 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
Application context in NSCountWindowsForContext(int context, int *count)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application context in NSCountWindowsForContext(int context, int *count)?


  • Subject: Application context in NSCountWindowsForContext(int context, int *count)?
  • From: Cybereer <email@hidden>
  • Date: Wed, 30 Nov 2005 15:14:44 -0500

I notice that this question has been asked before here and elsewhere on the Web but not answered AFAIK.

This is an AppKit function that "Counts the number of onscreen windows belonging to a particular application, identified by context; it returns the number by reference in count", but what's exactly is this "context" and how do you find it?

NSApplication does have a - (NSGraphicsContext *) context method, but that doesn't return an int required by NSCountWindowsForContext().

Thanks
_______________________________________________
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


  • Prev by Date: Re: more than one plist in a file.
  • Next by Date: NSPopupButtonCell handling click too early ? (Binding problem)
  • Previous by thread: Re: Two applications, one preference file
  • Next by thread: NSPopupButtonCell handling click too early ? (Binding problem)
  • Index(es):
    • Date
    • Thread