L_SetPlaybackIndex

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_SetPlaybackIndex(hPlayback, nIndex)

HPLAYBACK hPlayback;

/* playback handle */

L_INT nIndex;

/* bitmap list index */

Sets the list index of the current bitmap during animation playback.

Parameter

Description

hPlayback

Handle that references the animation playback.

nIndex

The bitmap list index to set.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIS

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

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_CreatePlayback, L_DestroyPlayback, L_GetPlaybackDelay, L_CancelPlaybackWait, L_ProcessPlayback, L_ClearPlaybackUpdateRect, L_GetPlaybackIndex, L_GetPlaybackState, L_GetPlaybackUpdateRect, L_AppendPlayback, L_ValidatePlaybackLines

Topics:

Raster Image Functions: Creating and Maintaining Lists of Images

 

Implementing Animation

Example

For a short example, refer to L_GetPlaybackIndex. For complete sample code, refer to the CHILD.C module of the DEMO example.