SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
A mouse button is released.
VB.NET | Private Sub object_MouseUpEvent(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.MouseUpEvent |
VB | Private Sub object_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal xPos As OLE_XPOS_PIXELS, ByVal yPos As OLE_YPOS_PIXELS) |
C#.NET | void object_MouseUpEvent(object sender, EventArgumentType e); |
VC++ | void OnMouseUpobject(short Button, short Shift, OLE_XPOS_PIXELS xPos, OLE_YPOS_PIXELS yPos); |
C | HRESULT OnMouseUpobject(short Button, short Shift, OLE_XPOS_PIXELS xPos, OLE_YPOS_PIXELS yPos); |
object
Button
Describes the button(s) that are pressed. The Button argument is a bit field with bits corresponding to the left button, right button and middle button. These bits correspond to the values shown below. The bits set indicate the button that caused the event.
Name | Value | Description |
---|---|---|
constSftButtonLeftButton | 1 | Left button |
constSftButtonRightButton | 2 | Right button |
constSftButtonMiddleButton | 4 | Middle button |
Shift
Describes the state of the SHIFT, CONTROL and ALT keys. A bit is set if the key is down. The Shift argument is a bit field with bits corresponding to the SHIFT, CONTROL and ALT keys. It indicates the state of these keys. Some, all, or none of the bits can be set, indicating which of the keys are pressed.
Name | Value | Description |
---|---|---|
constSftButtonShiftMask | 1 | Shift |
constSftButtonCtrlMask | 2 | Control |
constSftButtonAltMask | 4 | Alt |
xPos
The x-coordinate of the mouse cursor. The units used depend on the container (Visual Basic uses TWIPS, Visual C++ uses pixels, etc.) and the coordinate system used.
yPos
The y-coordinate of the mouse cursor. The units used depend on the container (Visual Basic uses TWIPS, Visual C++ uses pixels, etc.) and the coordinate system used.
The MouseUp event occurs when a mouse button is released.
The Click and DropDownClick events should be used to determine whether the control has been clicked.
The MouseUp event can be used by an application to handle mouse button clicks in combination with keyboard modifiers such as the SHIFT, CONTROL and ALT keys.
The HitTest method can be used to determine what area of the control is at a specific location.
See Also SftButton Object | Object Hierarchy