Fullscreen in Cocoa
I've looked around for sample code, but there seems to be nothing on this board about it and all the code I could find on Apple's sample code section was Carbon. How can I change the screen resolution and display an NSWindow in it?
Thanks,
Steven
Thanks,
Steven
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
I don't think there is a Cocoa interface for changing the display resolution, you'll have to use core graphics.
How would you do that? I can't find anything again... (Apple's source code section is so very badly organized...
)
Steven
)Steven
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
http://developer.apple.com/technotes/tn/tn2007.html covers the CGDirectDisplay API...
CoreGraphics is accessible by including the ApplicationServices.framework. It's not necessary to include all the Carbon libraries.
---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB

