OnMouseMove Event

[Top]  [Chapter]  [Previous]  [Next]

Member of WPDLLInt

Declaration C#

MouseMove(MouseEventArgs e)

The .NET assembly uses the standard event type MouseMove. The passed MouseEventArgs can be casted to the wpMouseEventArgs type to read the property "Editor".

 

Declaration OCX

OnMouseMove(ByVal Editor As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long)

 

This event occurs when the user moves the mouse over the editor.

Parameters

Editor

The editor number, 1 or 2

Shift

A bit field representing the state of the control keys:

1 : Shift key

2 : ALT key

4 : Ctrl key

Please use a logical "and" operation to check the bits!

X

X position relatively to the editors upper left corner.

Editor

Y position relatively to the editors upper left corner.


[idh_wpdllint_onmousemove.htm]    Copyright © 2007 by WPCubed GmbH