SetMouseButtonAction Method (ILEADStackAction)

Visual Basic example

Visual C++ example

 

Syntax

short SetMouseButtonAction (MouseButtonConstants MouseButton, long lFlags);

Overview

Refer to Using the Image Viewer

Remarks

(Medical Imaging Suite) Specifies the action’s mouse buttons.

The action must be activated inside a container before it can be assigned to a mouse button by calling ActivateAction method.

If the action is set to a mouse button that is already used by another action, this action will overwrite the old one.

If the action is set to a mouse button that is already used by another action within the container this action will overwrite the old one. For example, if you set a mouse button for an owner action object in the container, and then set the same mouse button for a scale action object in the same container, the mouse button will cause a scale action within the container.

Actions can also be associated with keystroke combinations. To assign the action to a keystroke combination, use SetKeyboardAction method, Key, and Modifier properties.

See Also

Elements:

Cursor Property, Change Property, CircularMouseMove Property, Use Property, SetKeyboardAction Method, ActivateAction Method, Key Property, Modifier Property, SetAction Method, GetAction Method, GetKeyboardAction Method, ScrollValue property, ActiveSubCell property.

Topics:

Image Viewer: Stack Action