Solved

WindowBeforeRightClick - PowerPoint 2007

Posted on 2009-07-12
1
701 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
ID: 24843620
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches viewers how to add simple and professional themes to their slides.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

895 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

13 Experts available now in Live!

Get 1:1 Help Now