[futurebasic] [FB] Need help using the toolbox call 'CGDisplayAvailableModes'

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2007 : Group Archive : Group : All Groups

From: Walter Lenk <Walter_Lenk@...>
Date: Fri, 23 Nov 2007 15:13:16 -0500
-- 
Greetings -

I am trying to obtain more information about the primary display than
just it's height and width - specifically I need to find out it's
maximum resolution (and perhaps it's size, vendor, etc).

According to information in the file "CGDirectDisplay.h", for the list
of display modes (resolutions?) I should obtain an ID to the display
from 'CGMainDisplayID' and pass this ID to 'CGDisplayAvailableModes'.
'CGDisplayAvailableModes' will then return a reference to the CG
dictionary that lists the display modes.

Has anybody done this, or can offer me some pointers?

Thanks,

Walter Lenk

===========================================
Walter Lenk    Cambridge Ma    617-547-7781
===========================================