Type | Description | |||
Button as Integer | An integer that corresponds to the state of the mouse buttons in which a bit is set if the button is down. | |||
Shift as Integer | An integer that corresponds to the state of the SHIFT, CTRL, and ALT keys. | |||
X as OLE_XPOS_PIXELS | A single that specifies the current X location of the mouse pointer. The x values is always expressed in container coordinates. | |||
Y as OLE_YPOS_PIXELS | A single that specifies the current Y location of the mouse pointer. The y values is always expressed in container coordinates | |||
CursorInside as Boolean | Specifies whether the cursor is inside of the popup menu. |
The MouseMove event is generated continually as the mouse pointer moves across objects.
Syntax for MouseMove event, /NET version, on:
private void MouseMoveEvent(object sender,short Button,short Shift,int X,int Y,bool CursorInside) { } Private Sub MouseMoveEvent(ByVal sender As System.Object,ByVal Button As Short,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer,ByVal CursorInside As Boolean) Handles MouseMoveEvent End Sub |
private void MouseMoveEvent(object sender, AxEXPOPUPMENULib._IPopupMenuEvents_MouseMoveEvent e) { } void OnMouseMove(short Button,short Shift,long X,long Y,BOOL CursorInside) { } void __fastcall MouseMove(TObject *Sender,short Button,short Shift,int X,int Y,VARIANT_BOOL CursorInside) { } procedure MouseMove(ASender: TObject; Button : Smallint;Shift : Smallint;X : Integer;Y : Integer;CursorInside : WordBool); begin end; procedure MouseMoveEvent(sender: System.Object; e: AxEXPOPUPMENULib._IPopupMenuEvents_MouseMoveEvent); begin end; begin event MouseMove(integer Button,integer Shift,long X,long Y,boolean CursorInside) end event MouseMove Private Sub MouseMoveEvent(ByVal sender As System.Object, ByVal e As AxEXPOPUPMENULib._IPopupMenuEvents_MouseMoveEvent) Handles MouseMoveEvent End Sub Private Sub MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single,CursorInside As Boolean) End Sub Private Sub MouseMove(ByVal Button As Integer,ByVal Shift As Integer,ByVal X As Long,ByVal Y As Long,ByVal CursorInside As Boolean) End Sub LPARAMETERS Button,Shift,X,Y,CursorInside PROCEDURE OnMouseMove(oPopupMenu,Button,Shift,X,Y,CursorInside) RETURN |
<SCRIPT EVENT="MouseMove(Button,Shift,X,Y,CursorInside)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function MouseMove(Button,Shift,X,Y,CursorInside) End Function </SCRIPT> Procedure OnComMouseMove Short llButton Short llShift OLE_XPOS_PIXELS llX OLE_YPOS_PIXELS llY Boolean llCursorInside Forward Send OnComMouseMove llButton llShift llX llY llCursorInside End_Procedure METHOD OCX_MouseMove(Button,Shift,X,Y,CursorInside) CLASS MainDialog RETURN NIL void onEvent_MouseMove(int _Button,int _Shift,int _X,int _Y,boolean _CursorInside) { } function MouseMove as v (Button as N,Shift as N,X as OLE::Exontrol.ExPopupMenu.1::OLE_XPOS_PIXELS,Y as OLE::Exontrol.ExPopupMenu.1::OLE_YPOS_PIXELS,CursorInside as L) end function function nativeObject_MouseMove(Button,Shift,X,Y,CursorInside) return |