Better than calling WinDrawLine directly is to use a gadget, and draw a line
in the gadget event handler. That way, update events can also redraw the
line, and the line can be moved around conveniently in Constructor. Instead
of using WinDrawLine to actually draw the line in the gadget event handler,
I recommend using WinDrawRectangle. That way, you can make both horizontal
and vertical lines with the same code. If you want to be able to create more
sophisticated artwork, use a form bitmap.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/