Henk Jonas a �crit :

> [EMAIL PROTECTED] wrote:
> > In a form, I need to draw a large triangle with a label above the hypothenuse
> > (in the white space area of the triangle bitmap). Alas, the label gets
> > overwritten by the triangle bitmap as it lies within its bounding rectangle.
> > Can I change the draw order so that the bitmap gets drawn before the label? Or
> > can I set the white background of the triangle bitmap as transparent, even in
> > 1-bit mode (it must run on any device OS 3.0+)? If not, I'll draw my triangle
> > with lines instead.
>
>
> You would better draw it with lines instead. Looks nicer on
> Hires-devices without filling up your application with a lot of differnt
> bitmaps in different resolutions. I guess you also could try to
> FrmHideObject/FrmShowObject to force a redraw.

In the end, I used a gadget, so I can get its bounding rectangle to draw my 3 lines.
Additionally, its user data field holds static data I can then easily pass to the
form. Thanks!


--
Luc Le Blanc



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

Reply via email to