Copyright © 1998-2010 MultiMedia Soft

AnimShowFrame method

Previous pageReturn to chapter overviewNext page

Remarks

Shows a specific frame of the currently loaded animation.

This method can be used only if the control's Style property is set to STYLE_PICTURE and if an animation is currently loaded.

 

Syntax

Visual Basic

control.AnimShowFrame (iFrame as Integer) as boolean

 

Visual C++

BOOL control.AnimShowFrame (short iFrame);

 

Parameter

Description

 

 

iFrame

Index of the frame that must be displayed.

 

Return value

 

Value

Meaning

 

 

FALSE

An error occurred, probably because the Style property value was different from STYLE_PICTURE or because no animation was actually loaded.

TRUE

The frame was displayed successfully.