• 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: Converting CGShieldingWindowID() to NSWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Beginner question - Cocoa outlet using a method
      • From: Denis Stanton <email@hidden>
References: 
 >Re: Converting CGShieldingWindowID() to NSWindow? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Peer To Peer Design
  • Next by Date: Re: Struggling with NSTextView in a custom view
  • Previous by thread: Re: Converting CGShieldingWindowID() to NSWindow?
  • Next by thread: Beginner question - Cocoa outlet using a method
  • Index(es):
    • Date
    • Thread