LImageViewerCell::GetAnimationProperties

#include "ltwrappr.h"

L_INT LImageViewerCell::GetAnimationProperties(pDisAnimationProps, uFlags)

pDISPANIMATIONPROPS pDisAnimationProps;

/* pointer to a DISPANIMATIONPROPS structure */

L_UINT uFlags;

/* reserved for future use */

Retrieves the current animation properties of the specified cell.

Parameter

Description

pDisAnimationProps

Pointer to a DISPANIMATIONPROPS structure to be updated with the current animation properties of the specific cell.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To change the animation properties of a cell, call the LImageViewerCell::SetAnimationProperties function.

Before calling LImageViewerCell::GetAnimationProperties the user should:

1.

Declare a variable of type DISPANIMATIONPROPS.

2.

Pass a pointer to the DISPANIMATIONPROPS structure to LImageViewerCell::GetAnimationProperties as the pDisAnimationProps parameter.

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::SetAnimationProperties, LImageViewerCell::IsCellAnimated.

Topics:

Image Viewer Functions: Implementing Animation.

 

Implementing Animation

Example

For an example, refer to LImageViewerCell::StartAnimation.