> > such as OS version 3.5 or higher and color support?
>
> Err... Palm Vx also comes with OS 3.5 right? So the key is to check the
> default bit depth is order to determine whether it is a colour device or
> not?

>From scanning the reference doc, detecting color support seems to be:

UInt32 supportedDepths;
Boolean colorSuported;

WinScreenMode(winScreenModeGetSupportsColor, NULL, NULL,
    NULL, &colorSupported);
WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL,
    &supportedDepths, NULL);

The IIIc would have true for colorSupported and supportedDepths would have
bit 7 set to indicate 8-bit color support.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to