First of all, did you translate the screen point using
PenScreenToRaw(&point) ?
Second, after you enqueue your point, you have to enqueue the point (-1,-1)
to signal the end of queue.
Third, call "EvtWakeup", it sometimes help to wake up the system (I'm not
sure this step is necessary).

Anyway, CtlHitControl may be enough for you.

--
--
Regards,
Miron.

======================================================================
Eng. Miron Ophir,
The MobiMate Team
E-Mail:   [EMAIL PROTECTED]
Home Page:  www.mobimate.com
Private E-Mail:     [EMAIL PROTECTED]
                    [EMAIL PROTECTED]
Private Home Page:  http://members.tripod.com/ophirm
ICQ:               6785948
======================================================================

"Loris G. Navoni" <[EMAIL PROTECTED]> wrote in message
news:51684@palm-dev-forum...
>
> Hi, everybody.
> I am developing a software that must "emulate" the pressing of the
> stylus over a button, so I have to recreate all the
> event that the "real action" activate. I found under the source of the
> Emulator that the Gremlins use the
> EvtEnqueuePenPoint function to do this.
> however, while the "real stylus" activate the right sequence of
> events:
> PenDownEvent
> ctlEnterEvent
> ctlSelectEvent
>
> the "software stylus" performs only a PenDownEvent.
> Does anyone can explain me better the use of this function or an
> alternative way to emulate stylus taps ?
> Many Thanks in advance
>         Loris
>
>
>
>
>



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

Reply via email to