LImageViewer::SetAnimationProperties

#include "ltwrappr.h"

L_INT LImageViewer::SetAnimationProperties(nCellIndex, pDisAnimationProps, uFlags)

L_INT nCellIndex;

/* index of a cell */

pDISPANIMATIONPROPS pDisAnimationProps;

/* pointer to DISPANIMATIONPROPS structure */

L_UINT uFlags;

/* reserved for future use */

Changes the animation properties of a specific cell.

Parameter

Description

nCellIndex

A zero-based index of the cell for which to change the animation properties. Pass -1 to change the animation properties for all cells. Pass -2 to change the animation properties for the selected cells.

pDisAnimationProps

Pointer to the DISPANIMATIONPROPS structure that contains the animation properties to change.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Before calling LImageViewer::SetAnimationProperties the user should:

1.

Declare a variable of type DISPANIMATIONPROPS.

2.

Specify the new property values in the appropriate members.

3.

Pass a pointer to the DISPANIMATIONPROPS structure to LImageViewer::SetAnimationProperties as the pDisAnimationProps parameter.

To retrieve the current animation properties of the specified cell, call the LImageViewer::GetAnimationProperties function.

For more information on the available animation properties, refer to the DISPANIMATIONPROPS structure.

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

Functions:

LImageViewer::Create, LImageViewer::Destroy, LImageViewer::StartAnimation, LImageViewer::StopAnimation, LImageViewer::GetAnimationProperties, LImageViewer::IsCellAnimated.

Topics:

Image Viewer Functions: Implementing Animation

 

Implementing Animation

Example

For an example, refer to LImageViewer::StartAnimation.