At 06:39 PM 3/27/2003 -0800, John Cramer wrote:

Thanks for the suggestion. I'll take a look at that. One thought I had was
to load the bitmap from the resources using the ID, then do a pixel by pixel
scan and replace transparent-colored pixels with the background color. I was
hoping there might be some little known system function that would do
something like that for me.

Thanks again,
jcc

"Matt Hebley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> If you grub around in the OS source code long enough, you can find code to
> invert coloured text, maybe the table code. It makes several calls to
> WinPaintRectangle, IIRC. It might work on graphics.


I think the function Matt is referring to is ReplaceTwoColors() in Table.c (I hope my saying this doesn't violate the agreement we sign to get the OS source!).




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

Reply via email to