none
Catch mouse events in PowerPoint RRS feed

  • Question

  •  Hi,

    Can anyone help me in handling mouse events (mousewhell) for a powerpoint presentation?
    I am developing an add-in for PowerPoint  with C# / VSTO. The add-in will work when the user is in design mode
    I want to listen to these events  to create custom UI look at the picture.


    • Moved by CoolDadTx Thursday, April 28, 2016 6:32 PM Office related
    • Edited by stephaneTT Thursday, April 28, 2016 10:03 PM
    Thursday, April 28, 2016 6:16 PM

Answers

  • Hi stephaneTT,

    PowerPoint does not expose these events directly, but it is possible to implement your own events by combining global mouse hooks with shape parameters that PowerPoint expose.

    For more information please visit the link below.

    Catch mouse events in PowerPoint designer through VSTO

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Regards

    Deepak


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, May 17, 2016 10:37 AM
    Moderator

All replies

  • Hi stephaneTT,

    you want to use Mouse Wheel Event to change the round edge of rectangle.

    but here I want to tell you that Events can be fire on controls. for that you have to choose a control that can be able to do this kind of functionality.

    the other thing is that control should also support Mouse Wheel Event. so that particular code can execute on that event.

    here you don't have select any controls to do this. so how can it will fire any event.

    lets assume that if somehow you achieve the Mouse Event then also there are lots of issues can be occurred like when that event will be fire? if it fire on shape then on which shape it will fire? because not all the shapes have this functionality.

    I want to know that on which shape you want to fire this event? only on Rounded Rectangle?

    Regards

    Deepak


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, April 29, 2016 5:05 AM
    Moderator
  • Hi stephaneTT,

    PowerPoint does not expose these events directly, but it is possible to implement your own events by combining global mouse hooks with shape parameters that PowerPoint expose.

    For more information please visit the link below.

    Catch mouse events in PowerPoint designer through VSTO

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Regards

    Deepak


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, May 17, 2016 10:37 AM
    Moderator