Hi gang, last week I got some help with having a transparent background for text so that I wouldn't end up with a big white box or anything. Well this worked almost exactly how I wanted it. >WinEraseChars() > WinInvertChars() But the problem, is that the text color changes based on the background color. So if I had a gradient behind the text, the actual text then has a gradient in it. Is there somthing similar, or a small text color change that I can do so that the text will all be printed in 1 color? thanks in advance. Brian >> Well, I have been trying to stay quiet on here so not to sound stupid, but >> I'm afraid I am not stuck again. I have some art/bitmap on the screen and I >> want to show a score over it without a ugly box. I tried WinsetBackColor to >> 0 with hope that it would be transparent. It's not. Does anyone know if >> it's possible to do this? > > the standard "text" drawing is to use the "copy" function. > > this clobbers the background, and you get this nice white bar around > the text.. what you want to do, is the following: > > WinEraseChars() > WinInvertChars() > > first call sets the pixels where the characters are off.. and the > "invert" turns em all back on again :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
