Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Finding the position of an input cursor in a Photon App
Ref. No. QNX.000010286
Category(ies) Input Devices, Development
Issue Is there function that gets the X-Y coordinates of the mouse cursor?
Solution The function PhQueryCursor() returns information about an input group cursor.  It contains the cordinations of the cursor as well as information about where the button was last pressed, cursor color, region information for that cursor etc.