there's no way to get the coordinates, as-is.

the easiest way to accomplish it would be to take the source for
LstPopupList and paste it into your own app (it doesn't use as system
globals, so this should be easy).  then, modify the code to do what you want
(for example, add an out parameter to the prototype, and fill it in with the
penDown coordinates).

but is it really necessary?  no other app works that way, so it would be
unexpected behavior for users (which is almost always a bad thing).


-----Original Message-----
From: Mike Bitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, March 20, 1999 3:56 PM
Subject: Getting coordinates of LstPopupList dismissal tap


>itemhit = LstPopupList (popupList);
>
>If the user taps on an item inside the list, LstPopupList returns the
>item number and I process it accordingly.  If the user taps outside the
>list's boundaries, 0xFFFF is returned and the list is dismissed.  The
>problem: I would like to know the XY coordinates at which the user tapped
>to dismiss the list.


Reply via email to