Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
AnimGetFramesCount method 
 
Remarks 
Gets the number of frames contained inside the 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. 
(Available only with Professional edition) 
 
Syntax 
Visual Basic 
control.AnimGetFramesCount () as Integer 
 
Visual C++ 
short control.AnimGetFramesCount ()
 
 
Return value 
 
Value
Meaning
 
 
-1
An error occurred, probably because the Style property value was different from STYLE_PICTURE or because no animation was actually loaded.
value >= 0
The number of frames.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index