A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old November 26th, 2009, 03:21 PM posted to microsoft.public.powerpoint
Bin
external usenet poster
 
Posts: 2
Default 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  
Old November 27th, 2009, 05:39 AM posted to microsoft.public.powerpoint
Bin
external usenet poster
 
Posts: 2
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.