Thanks for your answer.

I tried to enqueue penUp and penDown events with EvtAddEventToQueue without 
success, but I found this solution:

     pt.x = 266;              // true coord (pixels)
     pt.y = 466;
     PenScreenToRaw(&pt);     // conv into digitalizer coord 
     EvtEnqueuePenPoint(&pt); // penDown
     pt.x = pt.y = -1;
     EvtEnqueuePenPoint(&pt); // penUp

It works fine, on the Palm and on the simulator.

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

Reply via email to