It looks like WinSetForeColorRGB() will work the same on 4.0 and the
3.5 that Handspring uses on the Prism.  I didn't test this, but looking
at Handspring's SDK and the 4.0 SDK they both use the same trap number
in the API, someone must have been thinking about this beforehand...

jeff


At 06:34 AM 12/15/2000, McCollister, Mike wrote:

>Aaron,
>
>Thanks for the information. I ended up using the WinSetForeColorRGB()
>function in Palm OS 4.0. I'm just wondering if this function will work on an
>Prism using their extensions to 3.5. Any ideas?
>
>Thanks,
>
>Mike McCollister
>
> > -----Original Message-----
> > From: Aaron Ardiri [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, December 14, 2000 12:03 PM
> > To:   Palm Developer Forum
> > Subject:      Re: How to set RGB color in Palm OS 3.5
> > 
> > 
> > > Hi,
> > > 
> > > I am wondering if I can set an non-paletted foreground color in Palm OS
> > 3.5.
> > > If I use the WinSetForeColor() function, I have to resort to an index.
> > I
> > > want to be able to supply raw RGB values.
> > 
> >   yes and no :)
> > 
> >   you can supply a RGB tuple and convert it to an index using 
> >   WinRGBToIndex() - or similar (from memory). take a look at that.
> > 
> > // az
> > [EMAIL PROTECTED]
> > 
> > http://www.ardiri.com/    <--- free games!
> > 
> > 
> > -- 
> > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/tech/support/forums/
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


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