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

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
 
I

Inbar

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top