Does the PPT model support an OnClick event for a slide?

  • Thread starter Thread starter Rajesh
  • Start date Start date
R

Rajesh

Does the PPT model support an OnClick event for a slide?
This is in PPT editing mode. I want to write custom code
to display a dialog every time a user clicks on the slide.

I couldn't find in the documentation or the header file
produced from the typelib which only shows the Dispatch
interfaces. What I want is a header file produced from
the IDL if you could send me that. I tried using
STDMETHOD (WindowSelectionChange)(PowerPoint::Selection
*Sel) - it seems to work but this event is called for a
lot more that I really want it for.

Thanks.
Rajesh
 
Are you talking about design mode or presentation mode?
In design mode, the SelectionChanged event is your best bet. It does fire
for almost everything, but you can quickly filter out based on the selection
you get. If you are talking presentation mode, it's a little tricky, there is
no event link this, but you can use a hyperlink to a script that will call
your macro.


Inbar.
 
Back
Top