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

Converting CGShieldingWindowID() to NSWindow?


  • Subject: Converting CGShieldingWindowID() to NSWindow?
  • From: Pierre-Olivier Latour <email@hidden>
  • Date: Sat, 25 Jan 2003 11:02:50 -0800

Hi,

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)?


_____________________________________________________________

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:
    • Re: Converting CGShieldingWindowID() to NSWindow?
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Creating a screen saver
  • Next by Date: Making a button show a menu when clicked
  • Previous by thread: Faster scrolling of images
  • Next by thread: Re: Converting CGShieldingWindowID() to NSWindow?
  • Index(es):
    • Date
    • Thread