Am Die, 2002-09-03 um 05.47 schrieb Richard Coutts: Hi,
> I want to draw some text to the screen, much the way WinDrawChars does, > except I don't want to erase what's behind the text. E.g., if there's a > line under the text, I want to see it through the text. WinDrawChars seems > to erase a rectangular area of the screen before writing -- is there an > alternative way to draw text to get the behavior I'm after? >From the docs: "This function differs from WinPaintChars in that this function always uses winPaint mode (see WinDrawOperation). This means the on bits are drawn in the text color, the off bits are in the background color, and underlines are in the foreground color. WinPaintChar uses the current drawing state transfer mode instead of winPaint" So you might want to use void WinPaintChars (const Char *chars, Int16 len, Coord x, Coord y) instead (introduced in PalmOS 3.5) and set the Draw-Mode to winOverlay before. Daniel Seifert www.dseifert.de -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
