SlideShowView.GetClickIndex Method

PowerPoint Developer Reference

Returns the index number of the current mouse click for an animation that is actively playing on a slide or has just finished.

Syntax

expression.GetClickIndex

expression   A variable that represents a SlideShowView object.

Return Value
Long

Remarks

Use the GetClickCount method to return the number of mouse clicks that are defined for a slide.

If a slide has no animations or if a user has not advanced yet to an animation, the GetClickIndex method returns 0. If a slide has an animation that runs automatically and the user moves to the previous page, the GetClickIndex method returns msoClickStateBeforeAutomaticAnimations.

See Also