If you have the host utilities from wIntegrate installed you could use WIN.EVAL and grab the current cursor positions in wIntegrate in your program
e.g.
CALL WIN.EVAL('Cursor(Get_X) : "," : Cursor(Get_Y)', XYPOS)
XPOS = FIELD(XYPOS, ",", 1)
YPOS = FIELD(XYPOS, ",", 2)