The property for which the value is returned by this macro is the position of the mouse when the event occurred, which is equal to ^$Event("PPOS").
If the event is related to a gadget (component or control), the position
is relative to the origin of that entity.
If the event is related to a window, the position is relative to the
current viewport of that window.
In any event, the value returned in this context is presented in the
units that are specified by the property called Units for
the entity in question.
Set p=%%EvPtrPos,x=$p(p,",",1)\24,y=$p(p,",",2)\32
Set i=y*10+x
Do I^%msgbox("You selected item number "_i_".")
The above sequence of commands, while executed in the "action logic"
for the event Pointer Up,
would establish the internal sequence
number of the entity that was selected.