LImageViewerCell::SetAnimationProperties

#include "ltwrappr.h"

L_INT LImageViewerCell::SetAnimationProperties(pDisAnimationProps, uFlags)

pDISPANIMATIONPROPS pDisAnimationProps;

/* pointer to DISPANIMATIONPROPS structure */

L_UINT uFlags;

/* reserved for future use */

Changes the animation properties of a specific cell.

Parameter

Description

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 LImageViewerCell::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 LImageViewerCell::SetAnimationProperties as the pDisAnimationProps parameter.

To retrieve the current animation properties of the specified cell, call the LImageViewerCell::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, LImageViewerCell::StartAnimation, LImageViewerCell::StopAnimation, LImageViewerCell::GetAnimationProperties, LImageViewerCell::IsCellAnimated.

Topics:

Image Viewer Functions: Implementing Animation

 

Implementing Animation

Example

For an example, refer to LImageViewer::StartAnimation.