Retrieving mouse position

Hi,

I am trying to retrieve the mouse coordinates when the user clicks in the main window of my photon application. Is there an API I can use to do this, or do I need to somehow access the driver directly?

Any help is much appreciated.
Jake

you should have a look into events:
qnx.com/developers/docs/mome … vents.html

Having the translation from PhEvent_t
and the pos from PhPointerEvent_t
you should be able to determine your mouse position.

Afaik you can use a callback in PhAB to create an event, the PhEvent_t is a member of the PtCallbackInfo_t structure you will get as a parameter to your callback funktion.