Re: Any way to map a native window id back to an NSWindow?
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