LAnimationWindow::PlayProcessing

#include "ltwrappr.h"

virtual L_INT LAnimationWindow::PlayProcessing()

virtual L_INT LAnimationWindow::PlayProcessing(hWnd, bLoop=FALSE)

HWND hWnd;

/* handle of the window */

L_BOOL bLoop;

/* flag to enable loop palying */

Starts playing the animation file.

Parameter

Description

hWnd

Handle of the window.

bLoop

Flag that determines whether to enable or disable playing in loop. Possible values are:

 

Value

Meaning

 

TRUE

Enables playing in loop.

 

FALSE

Disables playing in loop. This is the default value.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIS
LTFIL

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

Win32, x64.

See Also

Functions:

LAnimationWindow::PreProcessing, LAnimationWindow::PostProcessing, LAnimationWindow::PlayWhileLoad, Class Members

Topics:

Implementing Animation

 

Raster Image Functions: Playing Animated Images

Example

For an example, refer to LAnimationWindow::PreProcessing.