4

is it possible to detect the events which happen on a powerpoint shape like, let say, an arrow???

Until now, I've found the only possibilities are selecteditemchanged, beforerightclick and beforedoubleclick, but can't find a way to detect others like mouseover, resizeend, or positionchanged.

I was able to detect the click event on a Forms.CommandButton.1 ole object, but it works only on ppt presentation mode, not in ppt design mode.

My main goal is to embed a winform -or a wincontrol- into a ppt slide (not only show it over the slide, but embed it into the slide, so it can be viewed in the slide index and the user can play with it like any other shape. In example, male it bold, uppercase, change back color, etc), but I can't find documentation, and the one I found is not working as expected:

This one is about smartart, but seems to not have events
This one is about using Net control as OleObject, but in my case it is raising an "Error when calling COM" error

So, if it's not possible to embed Net controls within a ppt slide, is at least possible to detect key and mouse events on shapes???

Thanks in advance

4

1 回答 1

0

这个可能会帮助你:

检测 Shape 的事件

于 2014-02-13T14:18:42.437 回答