Override Default Menu Behaviour

V

Vish

I have a requirement wherein i need to override default
File->New functionality provided in MS PowerPoint 2000. On
clicking File->New menu, I have to display a new dialog.
Upon cancelling this dialog i can show up the default File-
New Dialog..

Anyone tried this before? With any other menu options? Can
any one answer how to implement this with VC++.

Regards
Vish
 
S

Shyam Pillai

Vish,
You would do something like this with VBA.

Sub AssignCustomAction()
CommandBars("File").Controls(1).OnAction = "MyNew"
End Sub

Sub MyNew()
MsgBox "You beckoned!!!"
End Sub


--
Regards
Shyam Pillai

Secure Pack V2
http://www.mvps.org/skp/securepack
 
J

John Langhans [MSFT]

Hello Vish,

I'm curious as to why you want to override the default behavior for the
File->New menu command. Is there a customer wish here?

If you (or anyone else reading this message) think that the default
behavior for one or menu commands should be different (or customizable..
how?), don't forget to send your feedback to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions)

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

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