Alan Jay Weiner wrote:
> 
> There's probably an easier way, but one way that comes to mind is to test for
> penDown events immediately after you call EvtGetEvent.
> 
> [web-clipped]
> 
>                 if ((event.eType == penDown) &&
>                     (event.screenX > 135) &&
>                     (event.screenY > 190)) {

   If you're going to hardcode the constants you can easily use
the #defines from hardware.h:
     #define hwrFindBtnLeft  133        
     #define hwrFindBtnTop   (hwrSystemTop+hwrCalcBtnHeight)

Regards,
Daniel.

Reply via email to