On Wed, May 03, 2000 at 01:27:48PM +0200, Aaron Ardiri wrote:
>   BITMAPFAMILY ID 1000 "bw.bmp" "" "" "color.bmp"
>   FORMBITMAP 1000
>   thats it.. if the display can support color, the color bitmap will be
>   drawn :)

Ah, great. Thanks.

One thing though, the code below would only check for the ROM version, not
if the Handheld had colorsupport.
But as you said, I don't need to check that anyway. :)

//Fredde

>  
> > If so, how can I detect features such as color support in a Palm that
> > doesn't have the 3.5 OS?
> 
>   UInt32 romVersion;
> 
>   // get the rom version
>   FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);
> 
>   // running os 3.5?
>   if (romVersion >= sysMakeROMVersion(3,5,0,sysROMStageRelease,0)) {
>   }
> 
>   // not running os 3.5
>   else {
>   }
> 

-- 
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