Superseded by parameters to
The event object that holds the information of the last event is now replaced by parameters to the different event handler functions to simplify data access. The event object will be supported for a not yet defined period of time for compatibility reasons. No improvements are planned. It is highly recommended to migrate to the new event handler functions.
// instead of:
// function On_DocEditMouseMove ()
// MsgBox ("moving over " + Application.ActiveDocument.DocEditView.event.clientX +
// "/" + Application.ActiveDocument.DocEditView.event.clientY);
// use now:
function On_AuthenticView_MouseEvent (long i_nXPos, long i_nYPos, SPYMouseEvent i_eMouseEvent, IAuthenticRange *i_ipRange)
if (i_eMouseEvent & spyMouseMoveMask)
MsgBox ("moving over " + i_nXPos + "/" + i_nYPos);
Declaration: clientY as long
Y value of the current mouse position in client coordinates.