Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X, Project Builder

View Source Code:

Download Sample (“Mode.zip”, 11.4K)
Download Sample (“Mode.dmg”, 65.3K)



Description

This is a CGDirectDisplay API demonstration command line tool. It shows how to identify the displays, iterate over them, and list the available modes for each display. The Mode sample does not actually change the display mode at all but instead writes out the available modes for each attached display to standard output. Requirements: Mac OS X, Project Builder Keywords: CGDirectDisplay, DrawSprocket, Display Manager, screen resolution, bit depth

Document Revision History

Date Notes
2003-01-14Shows how to enumerate displays and list the available modes for each display.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.