This callback function is fired if the control animation has been started. This feature is available in version 16 or higher.
virtual L_INT LImageViewerCell::AnimationStartedCallBack(hCellWnd, nCellIndex)
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::EnableAnimationStartedCallBack function.
For animation stop callback, use the LImageViewerCell::AnimationStoppedCallBack function, to use this callback, it must first be set by calling the LImageViewerCell::EnableAnimationStoppedCallBack 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 been 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.
For an example, refer to LImageViewerCell::EnableAnimationStartedCallBack.