> I am writing a product that needs to draw text over a tiled bitmap
> background. Using WinDrawChars always appears to paint the characters as
> well as a solid background color, obscuring the bitmap background. I
> would like to draw only the characters themselves.
>
> It appeared from the documentation that the way to go would be to use
> WinPaintChars with a masking methodology, paint the characters once with
> WinSetDrawMode( winErase ), and then drawing them again with
> WinSetDrawMode( winOverlay ), with appropriate background and foreground
> colors set. That, of course didn't work.
>
> There must be a simple way to set a transparent background for drawing
> text, I just haven't found it, and I'm sure I'm not the first person to
> want to do this. Any help out there?
this has been discussed on here before..
look up WinEraseChars and WinInvertChars.. do some basic logic
and you'll figure out how to do it.
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/