Help Center

MouseUpfunction

Occurs when the user releases a mouse button.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION MouseUp (BYVAL iButton AS SHORT, BYVAL iShift AS SHORT, BYVAL x AS OLE_XPOS_PIXELS, BYVAL y AS OLE_YPOS_PIXELS) AS HRESULT

Parameters

NameDescription
iButtonAn integer value that identifies which mouse button caused the event. 1 = left button (1), 2 = right button, or 4 = middle button.
iShiftAn integer which acts as a bit field corresponding to the state of the SHIFT, CTRL, and ALT keys when they are depressed. The SHIFT key is bit 0, the CTRL key is bit 1, and the ALT key is bit 2. These bits correspond to the values 1 (Shift Mask), 2 (Ctrl Mask), and 4 (Alt Mask), respectively. Thei Shift parameter indicates the state of these keys; some, all, or none of the bits can be set, indicating that some, all, or none of the keys are depressed. For example, if both the CTRL and ALT keys were depressed, the value of iShift would be 6.
xThe horizontal position, in pixels, from the left edge of the grid.
yThe vertical position, in pixels, from the top edge of the grid.

Description

Occurs when the user releases a mouse button.

Reference