CAnimateCtrl::Seek

BOOL Seek( UINT nTo );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nTo

Zero-based index of the frame to display. Value must be less than 65,536. A value of 0 means display the first frame in the AVI clip. A value of – 1 means display the last frame in the AVI clip.

Remarks

Call this function to statically display a single frame of your AVI clip. If  the animation control has ACS_TRANSPARENT style, the AVI clip will be drawn using a transparent background rather than the background color specified in the animation clip.

Example

See the example for CAnimateCtrl::CAnimateCtrl.

CAnimateCtrl OverviewClass MembersHierarchy Chart

See Also   CAnimateCtrl::Open, CAnimateCtrl::Play, CAnimateCtrl::Create