Solved

WindowBeforeRightClick - PowerPoint 2007

Posted on 2009-07-12
1
700 Views
Last Modified: 2013-12-17
http://msdn.microsoft.com/en-us/library/bb231082.aspx  -- Application.WindowBeforeRightClick Event

In this article it's claimed you can intercept the WindowBeforeRightClick event for Powerpoint 2007. I think this article is full of lies.

The worst lie is this one "[WindowBeforeRightClick] Occurs when you right-click a shape, a slide, a notes page, or some text. This event is triggered by the MouseUp event"

I have found that the event only fires when you click in the empty area surrounding the powerpoint slide. Can anybody shed any light on this malicious and misleading article?

private void ThisAddIn_Startup(object sender, System.EventArgs e)

        {

            Application.WindowBeforeRightClick += new Microsoft.Office.Interop.PowerPoint.EApplication_WindowBeforeRightClickEventHandler(Application_WindowBeforeRightClick);

 

            

        }

 

        void Application_WindowBeforeRightClick(Microsoft.Office.Interop.PowerPoint.Selection Sel, ref bool Cancel)

        {

            MessageBox.Show("Canceling before right click...");

            Cancel = true;

        }

Open in new window

0
Comment
Question by:craigdev
1 Comment
 
LVL 21

Accepted Solution

by:
GlennaShaw earned 500 total points
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Setting the Scene Animations in PowerPoint are a great tool to convey messages when used carefuly with the content of your slides. There are plenty of animation effects and options, including a Repeat feature for individual animation effects. …
This video teaches viewers how to add simple and professional themes to their slides.
The viewer will learn how to edit the master slide. They will also learn how to combine multiple themes into one master slide to use them in their presentation.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now