• 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: Screen Resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen Resolution


  • Subject: Re: Screen Resolution
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 3 Aug 2003 13:55:53 -0700

On Sunday, August 3, 2003, at 12:12 PM, Jesus De Meyer wrote:

How can I change the screen resolution? Do I have to pop into Carbon and do it? If so, how? Do I #import <Carbon/Carbon.h> and then just use all the Carbon stuff as I would in C? Isn't there an example "Carbon in Cocoa" on Apple's website?

You'll have to go to Carbon for that. What I would do, is use DrawSprocket. It's easy to use and you can do fades, which are a nice way to switch screen resolutions.

No don't use draw sprocket, that is an legacy API. Use Quartz Services API to do this.

http://developer.apple.com/documentation/GraphicsImaging/Reference/ Quartz_Services_Ref/index.html

Example code can also be found on Apple's site...

http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/ ModeWhacker.htm

-Shawn
_______________________________________________
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: Screen Resolution
      • From: Seth Willits <email@hidden>
References: 
 >Re: Screen Resolution (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: beginning C
  • Next by Date: Re: dock menu
  • Previous by thread: Re: Screen Resolution
  • Next by thread: Re: Screen Resolution
  • Index(es):
    • Date
    • Thread