L_DispContainerIsActionActive
#include "ltivw.h"
L_BOOL EXT_FUNCTION L_DispContainerIsActionActive(hCon, nAction, uFlags)
HDISPCONTAINER hCon; |
/* handle to the container */ |
L_INT nAction; |
/* action ID */ |
L_UINT uFlags; |
/* reserved for future use */ |
Returns a value that indicates whether the specific action has been added to the container (using the function L_DispContainerAddAction).
Returns a value that indicates whether the specific action is active (assigned to a mouse button). This function is available only in the Medical Imaging Suite toolkits.
Parameter |
Description |
|
hCon |
Handle to the container. |
|
nAction |
Value that represents the action for which to get the activation status. If nAction is equal to or greater than 100, it is a user-defined action. Otherwise, it should be one of these predefined actions: |
|
|
CONTAINER_ACTION_WINDOWLEVEL |
[1] Window leveling |
|
CONTAINER_ACTION_SCALE |
[2] Scaling |
|
CONTAINER_ACTION_OFFSET |
[3] Offset |
|
CONTAINER_ACTION_STACK |
[4] Stacking |
|
CONTAINER_ACTION_MAG |
[5] Magnifying glass |
|
CONTAINER_ACTION_ALPHA |
[6] Alpha |
uFlags |
Reserved for future use. Must be zero. |
Returns
TRUE |
The action is active. It has been assigned to a mouse button. |
FALSE |
The action is not active, or an error occurred. To get extended error information, call GetLastError. |
Comments
To add an action to the image viewer control, call L_DispContainerAddAction.
Required DLLs and Libraries
LTIVW For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Example
For an example refer L_DispContainerRemoveAction.