DISPCONTAINERANIMATIONSTOPPEDCALLBACK

#include "l_bitmap.h"

L_INT pEXT_CALLBACK YourFuction(hCellWnd, nCellIndex, pAnimationStoppedUserData)

HWND hCellWnd;

/* handle to the cell window */

L_INT nCellIndex;

/* index of a cell */

L_VOID * pAnimationStoppedUserData;

/* user data */

This callback function is fired if the control animation has been stopped. This feature is available in version 16 or higher.

Parameter

Description

hCellWnd

A handle to the window that represents the Medical Viewer Cell.

nCellIndex

Index of the cell, which has the animation engine started.

pAnimationStoppedUserData

A void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. (This is the same pointer that you pass in the pUserData parameter of L_DispContainerSetAnimationStoppedCallBack.) Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_DispContainerSetAnimationStartedCallBack, L_DispContainerGetAnimationStartedCallBack, L_DispContainerGetAnimationStoppedCallBack, L_DispContainerSetAnimationStoppedCallBack, L_DispContainerSetAnimationProperties, L_DispContainerGetAnimationProperties, L_DispContainerIsCellAnimated, L_DispContainerStopAnimation, L_DispContainerStartAnimation, L_DispContainerCreate, L_DispContainerRemoveCell, L_DispContainerInsertCell, L_DispContainerGetCellCount, L_DispContainerGetCellWindowHandle, L_DispContainerSetCellTag, L_DispContainerSetCellProperties, L_DispContainerGetCellProperties, L_DispContainerRepositionCell, L_DispContainerGetCellPosition, L_DispContainerSetCellBitmapList, L_DispContainerGetCellBitmapList, L_DispContainerGetCellBounds, L_DispContainerSelectCell, L_DispContainerIsCellSelected, L_DispContainerIsCellFrozen

Topics:

Implementing Animation

 

Image Viewer Functions: Implementing Animation

Example

For an example, refer to L_DispContainerSetAnimationStartedCallBack.