Re: Converting CGShieldingWindowID() to NSWindow?
Re: Converting CGShieldingWindowID() to NSWindow?
- Subject: Re: Converting CGShieldingWindowID() to NSWindow?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Sat, 25 Jan 2003 12:49:55 -0800
>
> In the CGDisplay API, when a screen has been captured, you can use
>
> this call
>
> to retrieve the shielding window:
>
> void * CGShieldingWindowID(CGDirectDisplayID display)
>
> Which returns a raw window server window ID
>
>
>
> Anyone know how I could convert this to a NSWindow or WindowRef (which
>
> then
>
> I would convert to a NSWindow)?
>
>
I don't think it's possible, but why would you need to anyway?
To solve nicely a complex full-screen OpenGL context page-flipping issue ;)
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Palo Alto, USA
http://www.pol-online.net
_______________________________________________
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.