Well, thanks to Aaron!

"Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:9663@palm-dev-forum...

> WinDrawChars does not get a rectangle, it gets an X and Y coordinate that
> tells it where to start drawing:
>
> void WinDrawChars(  const Char *chars, Int16 len, Coord x, Coord y )

still I don't understand, why did I get the "strange effect" not every time
the string was wider than the list, but occasionally...
But now it doesn't matter

>  // lets set the clipping region
>  WinSetClip(&rect);
>
>  // draw the string
>  WinDrawChars(myString, count, rect.topLeft.x, rect.topLeft.y);
>
>  // lets reset the clipping region
>  WinResetClip();

That was my problem!
I tried to use  WinSetClip(&rect) but with strange results.
Now I see, that I was to use   WinResetClip() also.
It's OK now!






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to