• 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: What's the proper way of creating a temporary NSWindow from a Carbon window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the proper way of creating a temporary NSWindow from a Carbon window?


  • Subject: Re: What's the proper way of creating a temporary NSWindow from a Carbon window?
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 6 May 2005 11:11:42 -0400
  • Organization: Rogue Research

On 2005-05-06 15:52, Jonathan del Strother said:

>You can get NSScreen from an NSWindow.  Then, [NSScreen
>deviceDescription] to get the screen number.  Then,
>CGDisplayAvailableModes to get an array of resolutions.  I'm sure
>there's a better way, but I couldn't figure it out...

QDGetCGDirectDisplayID() will take you from GDHandle to
CGDirectDisplayID, getting the GDHandle of a WindowRef must be easy.

Of course, we are now totally off topic.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What's the proper way of creating a temporary NSWindow from a Carbon window? (From: Jonathan del Strother <email@hidden>)
 >Re: What's the proper way of creating a temporary NSWindow from a Carbon window? (From: "Sean McBride" <email@hidden>)
 >Re: What's the proper way of creating a temporary NSWindow from a Carbon window? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: What's the proper way of creating a temporary NSWindow from a Carbon window?
  • Next by Date: Re: programmaticaly modify .nib files
  • Previous by thread: Re: What's the proper way of creating a temporary NSWindow from a Carbon window?
  • Next by thread: NSTextView and bindings with manual notification
  • Index(es):
    • Date
    • Thread