Occurs when the MCI command activated by a Multimedia MCI control button finishes.
Syntax
Private Sub MMControl_ButtonCompleted (Errorcode As Long)
Remarks
Button may be any of the following: Back, Eject, Next, Pause, Play, Prev, Record, Step, or Stop.
The Errorcode argument can take the following settings.
Setting | Description |
0 | Command completed successfully. |
Any other value | Command did not complete successfully. |
If the Cancel argument is set to True during a ButtonClick event, the ButtonCompleted event is not triggered.