ZeeImage Control Message
An application sends a ZIM_SETANIMATELOOP to define how many times an animation will loop to play again before stopping.
wParam = (WPARAM)(int) iLoops; //Number of times to loop.
lParam = 0; //Not used. Set to 0.
The value of wParam. The number of times the animation will loop and play again.
The value of lParam. Not used. Set to 0.
This message does not return a value.
//This will cause the animation to play 6 times then stop.
Remember that the value of wParam (iLoops) is the number of times the animation will loop, which will be one less than the number of times it plays.
Set to -1 for infinite looping, 0 for no looping or play once,
1 to loop once or play twice, etc.
Copyright © 2020 by David Hillard