MouseDown, MouseMove, MouseUp Events

3D Graph Control

MouseDown, MouseMove, MouseUp Events

Syntax

Sub ControlName_MouseDown( Button As Integer, Shift As Integer, x As OLE_XPOS_PIXELS, y As OLE_YPOS_PIXELS)

Sub ControlName_MouseMove( Button As Integer, Shift As Integer, x As OLE_XPOS_PIXELS, y As OLE_YPOS_PIXELS)

Sub ControlName_MouseUp( Button As Integer, Shift As Integer, x As OLE_XPOS_PIXELS, y As OLE_YPOS_PIXELS)

Applies To

CWGraph3D

Purpose

Generates the MouseDown event when you click the mouse on the control.

Generates the MouseMove event when you move the mouse over the control.

Generates the MouseUp event when you release the mouse on the control.

Remarks

For more information, refer to Visual Basic help.

Parameters

Button As Integer

The state of the mouse buttons. The Button argument can be any combination of the following values: 1 for the left button, 2 for the right button, or 4 for the middle button. For example, if both the left and right mouse buttons are pressed, the Button argument is 3 (1 + 2).

Shift As Integer

The state of the <Shift> key, <Alt> key, and <Ctrl> key. The Shift argument can be any combination of the following values: 1 for <Shift> , 2 for <Ctrl> , or 4 for <Alt> . For example, if the <Shift> and <Ctrl> keys are pressed, the value is 3 (1 + 2).

x As OLE_XPOS_PIXELS

The X-coordinate of the current location of the pointer.

y As OLE_YPOS_PIXELS

The Y-coordinate of the current location of the pointer.

See Also

Click

DblClick