PowerPoint 2007 shortcut menus

K

kb

When I add a caption to a right-click shortcut menu for, say, the Tables
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:

Sub foo()

Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"

End Sub

When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.

How do I add my items to shortcut menus?

Thanks in advance.
 
P

Patrick Schmid [MVP]

You can't. Only very few items (e.g. a slide) support customizing the
right-click menu in 2007.


Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 
K

kb

But this is a bug. All the right-click menus work in Excel and Word. They
can't just stop supporting it.



Patrick Schmid said:
You can't. Only very few items (e.g. a slide) support customizing the
right-click menu in 2007.


Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed



When I add a caption to a right-click shortcut menu for, say, the Tables
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:

Sub foo()

Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"

End Sub

When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.

How do I add my items to shortcut menus?

Thanks in advance.
 
P

Patrick Schmid [MVP]

Sorry, this is how it is for 2007.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed




But this is a bug. All the right-click menus work in Excel and Word. They
can't just stop supporting it.



Patrick Schmid said:
You can't. Only very few items (e.g. a slide) support customizing the
right-click menu in 2007.


Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed



When I add a caption to a right-click shortcut menu for, say, the Tables
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:

Sub foo()

Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"

End Sub

When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.

How do I add my items to shortcut menus?

Thanks in advance.
 
K

kb

Okay, thanks for your help.


Patrick Schmid said:
Sorry, this is how it is for 2007.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed




But this is a bug. All the right-click menus work in Excel and Word. They
can't just stop supporting it.



Patrick Schmid said:
You can't. Only very few items (e.g. a slide) support customizing the
right-click menu in 2007.


Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed




When I add a caption to a right-click shortcut menu for, say, the Tables
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:

Sub foo()

Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"

End Sub

When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.

How do I add my items to shortcut menus?

Thanks in advance.
 
B

Blake Copenhaver

i've ran into this same issue. unfortunately powerpoint 2007 no longer fires the WindowBeforeRightClick event when you right click on a shape. And to top it off, simply adding a button to the "Shapes" context menu doesn't work (same issue already reported), however adding a button to the "Spelling" menu works fine. Office 2007 has been quite a let down from a developer's standpoint. Nothing seems to be consistent.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
B

Blake Copenhaver

i've ran into this same issue. unfortunately powerpoint 2007 no longer fires the WindowBeforeRightClick event when you right click on a shape. And to top it off, simply adding a button to the "Shapes" context menu doesn't work (same issue already reported), however adding a button to the "Spelling" menu works fine. Office 2007 has been quite a let down from a developer's standpoint. Nothing seems to be consistent.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top