Supported Browsers Home   
EVT_getHeartBeatCallback Previous   
EVT_getNext Next   
External Functions Up   

EVT_getMousePos

Returns the current mouse cursor location.

Declaration

void EVTAPI EVT_getMousePos(
    int *x,
    int *y)

Prototype In

event.h

Parameters

x

Place to store value for mouse x coordinate (screen coordinates)

y

Place to store value for mouse y coordinate (screen coordinates)

 

Description

Obtains the current mouse cursor position in screen coordinates. Normally the mouse cursor location is tracked using the mouse movement events that are posted to the event queue when the mouse moves, however this routine provides an alternative method of polling the mouse cursor location.

See Also

EVT_setMousePos

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com