• 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 10:43:38 -0400
  • Organization: Rogue Research

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

>My iTunes plugin needs a list of supported resolutions from the
>screen that the iTunes window is on.

The iTunes window may be on more than one screen.

>It's doing this by creating an NSWindow using initWithWindowRef.
>
>     NSWindow* iTunesWindow = [[NSWindow alloc]
>initWithWindowRef:FrontWindow()];

How does that tell you the supported resolutions?

Are iTunes plugins even allowed to be Cocoa? iTunes is Carbon afterall.
There are non-Cocoa ways to get screen resolutions you know, see
CGDirectDisplay for example.


--
____________________________________________________________
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

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

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