Re: What's the proper way of creating a temporary NSWindow from a Carbon window?
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