• 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: Change screen resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change screen resolution


  • Subject: Re: Change screen resolution
  • From: Mike Paquette <email@hidden>
  • Date: Fri, 9 Apr 2004 13:01:04 -0700

On Apr 9, 2004, at 12:18 PM, Denis Vaillant wrote:

I am programming a game and I need to change the resolution. I didn't found
how to switch screen resolution in cocoa. Does anyone can tell me what is
the method to do so (or the class) ?

Use Quartz Services. Quartz Services is a C API, but is Cocoa-friendly.

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

See also the example code modewhacker.c, coded by Dr. Evil himself:

http://developer.apple.com/samplecode/ModeWhacker/listing1.html

Just add error checking...
_______________________________________________
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.


References: 
 >Change screen resolution (From: Denis Vaillant <email@hidden>)

  • Prev by Date: Re: Change screen resolution
  • Next by Date: Re: [ANN] AppKiDo 0.902
  • Previous by thread: Re: Change screen resolution
  • Next by thread: How to add NSScrollView automatically?
  • Index(es):
    • Date
    • Thread