virtual L_INT LImageViewerCell::AnimationStoppedCallBack(hCellWnd, nCellIndex)
This callback function is fired if the control animation has been stopped. This feature is available in version 16 or higher.
A handle to the window that represents the Medical Viewer Cell.
Index of the cell, which has the animation engine started.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
In order to use this callback function, it must first be set by calling the LImageViewerCell::EnableAnimationStoppedCallBack function.
For animation stop callback, use the LImageViewerCell::AnimationStartedCallBack function, to use this callback, it must first be set by calling the LImageViewerCell::EnableAnimationStartedCallBack function.
The cell(s) must contain multiple frames.
To start the animation, call the LImageViewerCell::StartAnimation function.
To stop the animation, call the LImageViewerCell::StopAnimation function.
To check whether the cell is in an animation phase, call the LImageViewerCell::IsCellAnimated function.
The user can change or retrieve the animation properties even if the animation has started.
The user also can change the cell properties, and can apply various actions while the animation is running.
To retrieve the animation properties of a specific cell, call the LImageViewerCell::GetAnimationProperties function.
To change the animation properties of a specific cell, call the LImageViewerCell::SetAnimationProperties function.
Required DLLs and Libraries
For an example, refer to LImageViewerCell::EnableAnimationStartedCallBack.