Share via


InkMouseButton Enumeration (Automation Only)

InkMouseButton Enumeration (Automation Only)

Defines values that specify which mouse button was pressed.

Declaration

[C++]

typedef enum InkMouseButton {
    IMF_Left = 1,
    IMF_Right = 2,
    IMF_Middle = 4
} InkMouseButton;

[Microsoft® Visual Basic® 6.0]

Enum InkMouseButton
    IMF_Left = 1
    IMF_Right = 2
    IMF_Middle = 4
End Enum

Members

The following tables list the enumeration values.

Name Description
IMF_Left Specifies that the left mouse button was pressed.
IMF_Right Specifies that the right mouse button was pressed.
IMF_Middle Specifies that the middle mouse button was pressed.

Remarks

In C++, explicit casting is required when trying to set more than one flag at a time. A compilation error occurs if explicit casting is not used.