The ACN_STOP notification message notifies an animation control’s parent window that the associated AVI clip has stopped playing. This notification message is sent in the form of a WM_COMMAND message.
ACN_STOP
No return value.
WM_COMMAND