ActivateAction method (ILEADOwnerAction)

Visual Basic example

Visual C++ example

 

Syntax

short ActivateAction(VARIANT_BOOL bActive, long lFlags);

Overview

Refer to Using the Image Viewer

Remarks

(Medical Imaging Suite) Activates or deactivates the action.

To set or get the properties of the action, use SetAction and GetAction Method.

The action can be associated with a particular mouse movement, a keystroke combination, or both. To associate an action with the mouse, use the SetMouseButtonAction method. To assign a keystroke combination, set the Key, and Modifier properties and then call the SetKeyboardAction method.

If the action associated to the owner action is applied (mouse, or keyboard action) the control will fire the related events KeyDown, KeyUp, MouseMove, MouseDown, MouseUp, or MouseWheel.

See Also

Elements:

Cursor Property, Change Property, CircularMouseMove Property, Use Property, SetKeyboardAction Method, SetMouseButtonAction Method, Key Property, Modifier Property, SetAction Method, GetAction Method, GetKeyboardAction Method.

Topics:

Image Viewer: Owner Action