BOOL Play( UINT nFrom, UINT nTo, UINT nRep );
Return Value
Nonzero if successful; otherwise zero.
Parameters
nFrom
Zero-based index of the frame where playing begins. Value must be less than 65,536. A value of 0 means begin with the first frame in the AVI clip.
nTo
Zero-based index of the frame where playing ends. Value must be less than 65,536. A value of – 1 means end with the last frame in the AVI clip.
nRep
Number of times to replay the AVI clip. A value of – 1 means replay the file indefinitely.
Remarks
Call this function to play an AVI clip in an animation control. The animation control will play the clip in the background while your thread continues executing. If the animation control has ACS_TRANSPARENT style, the AVI clip will be played using a transparent background rather than the background color specified in the animation clip.
CAnimateCtrl Overview | Class Members | Hierarchy Chart
See Also CAnimateCtrl::Open, CAnimateCtrl::Stop, CAnimateCtrl::Seek, CAnimateCtrl::Create