--- Eric Snider <[EMAIL PROTECTED]> wrote:
> I was hoping that was the case, but my code looks like
> this so I think it's more complicated:
>
> Void TestColor( void )
> {
> RGBColorType palmColor;
> UInt16 colorIndex;
>
> palmColor.r = 0;
> palmColor.g = 0;
> palmColor.b = 0;
>
> colorIndex = WinRGBToIndex( &palmColor );
> }
>
The only thing I can see that's seriously wrong with that code is
"Void", which I expect is just a typo. A minor point: colorIndex
should be declared as an IndexedColorType which is a typedef for UInt8
(which is a typedef for unsigned char).
> ...
> Could something be wrong with my Form?
>
That's possible.
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/