How to catch event onclick when user click on a PowerPoint VBA but

B

Bin

Hi all.

You can visit this link : http://www.vbforums.com/showthread.php?t=510375

Like that application, I try to show a PPT file within a form by using
FindWindow() and SetParent() Function of "user32.dll" by C#. I can catch
events such as: begin show, end show, next slide, next, previous, next
build... by build functions to handle that events (for a object of
Micorosoft.Office.Interop.PowerPoint.SlideShowWindow) . It works ok. But if
slide has a VBA button (to run a marco or show animation ...) or has a video
clip and you need to click on it to play, I can not catch onlick event for
that object/shapes. I need to know what shape/object on slide is clicked when
slide is showing. It seem as PPT do not support that event? Please help me.

Thank you so much for your help.

Regards.

Bin.
 
B

Bin

Thanks Steve Rindsberg. But can you tell me how to do it with C#? My app open
a PPT file and show it. I have to loop all shapes in slide and add this
macro?Can you give me an example?

Thanks so much.

Regards,

Bin
 

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