If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to catch event onclick when user click on a PowerPoint VBA but
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.SlideShowWind ow) . 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. |
#2
|
|||
|
|||
How to catch event onclick when user click on a PowerPoint VBA
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 |
Thread Tools | |
Display Modes | |
|
|