Prev Next
The Animate_Play macro plays an AVI clip in an animation control. The
control plays the clip in the background while the thread continues executing.
You can use this macro or explicitly send the ACM_PLAY
message.
BOOL Animate_Play(
hwndAnim,
|
|
wFrom,
|
|
wTo,
|
|
cRepeat
|
|
);
|
|
Parameters
-
hwndAnim
-
Handle to the animation control in which to play the AVI clip.
-
wFrom
-
Zero-based index of the frame where playing begins. The value must be less
than 65,536. A value of zero means begin with the first frame in the AVI clip.
-
wTo
-
Zero-based index of the frame where playing ends. The value must be less than
65,536. A value of - 1 means end with the last
frame in the AVI clip.
-
cRepeat
-
Number of times to replay the AVI clip. A value of - 1 means replay the clip indefinitely.
Return Values
If the operation succeeds, the return value is a nonzero value.
If the operation fails, the return value is zero.
Remarks
You can use Animate_Seek to direct the animation control to display a
particular frame of the AVI clip.
The Animate_Play macro is defined in COMMCTRL.H.
See Also
ACM_PLAY, Animate_Seek
file: /Techref/os/win/api/win32/mac/src/mac00_3.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/12/21 21:36,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/mac/src/mac00_3.htm"> Animate_Play</A> |
Did you find what you needed?
|
.
|