Improve company productivity with a Business Account.Sign Up

x
?
Solved

WindowBeforeRightClick - PowerPoint 2007

Posted on 2009-07-12
1
Medium Priority
?
756 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 2000 total points
ID: 24843620
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
A lot of things can happen during a presentation, worst of which is “death by PowerPoint.” Here are a few mistakes to avoid to make your slides clean.
This video teaches viewers how to add simple and professional themes to their slides.
This video teaches viewers how to create handouts from their slides and helps them decide how many slides to include per handout.

595 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