Re: Screen Resolution
Re: Screen Resolution
- Subject: Re: Screen Resolution
- From: Shawn Erickson <email@hidden>
- Date: Sun, 3 Aug 2003 14:03:47 -0700
On Sunday, August 3, 2003, at 12:39 PM, Tomas Zahradnicky 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.
DrawSprocket can be used if you're programming a game. However if you
don't then you should probably avoid switching resolution since it can
easily move user's icons, flicker screen and make your users angry.
If you really have to do it, Display Manager (DM*) APIs is the way to
go.
Using the Quartz Services API you can change resolutions just while
your application runs (among other scoping) so that desktop icons and
such are not an issue. So avoid all but QS if you can, it is the most
powerful and support method going forward.
-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.