SetMouseButtonAction Method (ILEADMagnifyGlassAction)

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 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.

See Also

Elements:

Use Property, ActivateAction Method, SetAction Method, GetAction Method.

Topics:

Image Viewer: Magnifying Glass Action