• 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: Any way to map a native window id back to an NSWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to map a native window id back to an NSWindow?


  • Subject: Re: Any way to map a native window id back to an NSWindow?
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 24 Jan 2007 02:05:55 -0800

On 24 Jan 07, at 01:32, Tony Arnold wrote:
I've done a few searches and dug around the CGS* private headers looking for an answer to this, but I'm stumped. Is there any method to use a windowNumber to resolve back to an NSWindow instance?

I'm pretty sure that there isn't any straightforward way of doing so. CGS can be used to reference windows owned by other applications, which don't have NSWindow instances. Your best bet is to iterate through all your NSWindows and see if you have one that matches.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Any way to map a native window id back to an NSWindow? (From: Tony Arnold <email@hidden>)

  • Prev by Date: mouseMoved not coming in?
  • Next by Date: Strange errors in NSMovie
  • Previous by thread: Any way to map a native window id back to an NSWindow?
  • Next by thread: Re: Any way to map a native window id back to an NSWindow?
  • Index(es):
    • Date
    • Thread