SetMouseButtonAction Method (ILEADStackAction)
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