{
UInt32 color = 0xffffff;
IndexedColorType cType =
WinRGBToIndex((RGBColotType*)&color);
WinSetForeColor(index);
}
-bob mckenzie, palmsource pdx.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:35 AM
To: Palm Developer Forum
Subject: RE: Drawing circles with thick borders
Is there an easy way to change the forground colour to white ?. I want it to
work on all OS3.5 versions and above. I cant seem how to get white, without
creating my own RGB stuff.
Cheers.
-----Original Message-----
From: Robert McKenzie [mailto:[EMAIL PROTECTED]]
Sent: 13 June 2002 18:30
To: Palm Developer Forum
Subject: RE: Drawing circles with thick borders
If you are working on an older or black & white device, try
WinEraseRectangle.
If you are working on a color or grayscale device (OS 3.5 or higher) try
changing the Foreground color.
-bob mckenzie, palmsource pdx
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:27 AM
To: Palm Developer Forum
Subject: Drawing circles with thick borders
Hi,
I am trying to draw a cross section of a pipe, so ive drawn a filled black
circle using WinPaintRectangle, now i want to draw another circle inside it,
but in white (or clear), but I dont seem to be able to get the requried
colour. Any pointers would the apreaciated.
Thanks,
Richard Anderson
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/