Hello Palm Forum,
I would like to draw a single point when I do a "penDown" event
on a gadget. Here is the code I used on my gadget event
handler...
case penDownEvent:
GetObjectBounds(PGadget, &bounds);
if (RctPtInRectangle(eventP->screenX, eventP->screenY, &bounds)) {
WinDrawLine(eventP->screenX, eventP->screenY, eventP->screenX +1,
eventP->screenY+1);
handled = true;
}
break;
I draw a single point, OK, but the precision I get don't please
me a lot... How can I use also the "penMove" event to
make an "action radius" getting the penDown event? Is there
another kind of making my pendown event less sensible?
Thank you a lot!
--
Best regards,
Jose Rodriguez Ruibal
NIT (Nomad Information Tech)
e-mail: mailto:[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/