L_DispContainerSetAnimationProperties

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerSetAnimationProperties(hCellWnd, pDisAnimationProps, uFlags)

HWND hCellWnd;

/* handle to the cell window */

pDISPANIMATIONPROPS pDisAnimationProps;

/* pointer to DISPANIMATIONPROPS structure */

L_UINT uFlags;

/* reserved for future use */

Changes the animation properties of a specific cell.

Parameter

Description

hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

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 L_DispContainerSetAnimationProperties 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 L_DispContainerSetAnimationProperties as the pDisAnimationProps parameter.

To retrieve the current animation properties of the specified cell, call the L_DispContainerGetAnimationProperties 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:

L_DispContainerCreate, L_DispContainerDestroy, L_DispContainerStartAnimation, L_DispContainerStopAnimation, L_DispContainerGetAnimationProperties, L_DispContainerIsCellAnimated

Topics:

Implementing Animation

Image Viewer Functions: Implementing Animation

Example

For an example, refer to L_DispContainerStartAnimation.