A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Context menu for new message window



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 15th 10, 03:06 PM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Context menu for new message window

Hi All,

I am developing an add-in for Outlook 2003 and above and would like to add
an item to the context menu of the "new message" window. Is this possible?
We are using Word for the editor and HTML.

Thanks,
Tom


Ads
  #2  
Old March 15th 10, 05:55 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Context menu for new message window

Outlook 2007 adds various context menus to the object model. Outlook 2010
more or less deprecates those and adds new context menu operations to the
ribbon. Outlook 2003 has nothing like that. You can try using the
CommandBars.OnUpdate method to get a hook to the menus, but that's a really
hacked thing that sort of works for Explorers but not really well at all for
Inspectors.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Hi All,

I am developing an add-in for Outlook 2003 and above and would like to
add an item to the context menu of the "new message" window. Is this
possible? We are using Word for the editor and HTML.

Thanks,
Tom


  #3  
Old March 15th 10, 06:21 PM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Context menu for new message window

Hi Ken,

I have not found the context menu for Outlook 2007 for the new message
window. How do I hook to the context menu for the new message window for
Outlook 2007? Is this buried in the Word object model somewhere? I am only
interested in the HTML editing.

Thanks for your response!



"Ken Slovak - [MVP - Outlook]" wrote in message
...
Outlook 2007 adds various context menus to the object model. Outlook 2010
more or less deprecates those and adds new context menu operations to the
ribbon. Outlook 2003 has nothing like that. You can try using the
CommandBars.OnUpdate method to get a hook to the menus, but that's a
really hacked thing that sort of works for Explorers but not really well
at all for Inspectors.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Hi All,

I am developing an add-in for Outlook 2003 and above and would like to
add an item to the context menu of the "new message" window. Is this
possible? We are using Word for the editor and HTML.

Thanks,
Tom




  #4  
Old March 15th 10, 10:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Context menu for new message window

Oh, you want the context menu for an Inspector? If that's there at all it
would be in the Word object model somewhere.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Hi Ken,

I have not found the context menu for Outlook 2007 for the new message
window. How do I hook to the context menu for the new message window for
Outlook 2007? Is this buried in the Word object model somewhere? I am only
interested in the HTML editing.

Thanks for your response!


  #5  
Old March 15th 10, 10:33 PM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Context menu for new message window

Yes that is exactly what I want and have been pounding my head on my desk
trying to do

I spent the other day trying to figure out how to retrieve the context menu
command bar and could not find it. Then I started thinking that we may have
an event for the Word that I don't know about. This is why I decided to
post to the newsgroup.

So you really don't know (or have not tried) how to get the context menu for
a new message window.

Is there a newsgroup for word add-ins?

Thanks!




"Ken Slovak - [MVP - Outlook]" wrote in message
...
Oh, you want the context menu for an Inspector? If that's there at all it
would be in the Word object model somewhere.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Hi Ken,

I have not found the context menu for Outlook 2007 for the new message
window. How do I hook to the context menu for the new message window for
Outlook 2007? Is this buried in the Word object model somewhere? I am
only interested in the HTML editing.

Thanks for your response!




  #6  
Old March 16th 10, 02:15 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Context menu for new message window

I've never tried, but my guess is that the only way this would work (if it
would at all) is to handle Inspector.CommandBars.OnUpdate and then getting
the context menu that way. That's how we used to hack Explorer context menus
before they were exposed.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Yes that is exactly what I want and have been pounding my head on my desk
trying to do

I spent the other day trying to figure out how to retrieve the context
menu command bar and could not find it. Then I started thinking that we
may have an event for the Word that I don't know about. This is why I
decided to post to the newsgroup.

So you really don't know (or have not tried) how to get the context menu
for a new message window.

Is there a newsgroup for word add-ins?

Thanks!


  #7  
Old March 16th 10, 02:35 PM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Context menu for new message window

I will give it a try and I will let you know what I find out.

Thanks Ken!!!



"Ken Slovak - [MVP - Outlook]" wrote in message
...
I've never tried, but my guess is that the only way this would work (if it
would at all) is to handle Inspector.CommandBars.OnUpdate and then getting
the context menu that way. That's how we used to hack Explorer context
menus before they were exposed.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Yes that is exactly what I want and have been pounding my head on my desk
trying to do

I spent the other day trying to figure out how to retrieve the context
menu command bar and could not find it. Then I started thinking that we
may have an event for the Word that I don't know about. This is why I
decided to post to the newsgroup.

So you really don't know (or have not tried) how to get the context menu
for a new message window.

Is there a newsgroup for word add-ins?

Thanks!




  #8  
Old April 23rd 10, 10:11 PM posted to microsoft.public.outlook.program_addins
joshmerchant
external usenet poster
 
Posts: 1
Default Context menu for new message window

Tom - curious if you were able to get this working for 2007.

Trying to do something similar.

"Tom" wrote:

I will give it a try and I will let you know what I find out.

Thanks Ken!!!



"Ken Slovak - [MVP - Outlook]" wrote in message
...
I've never tried, but my guess is that the only way this would work (if it
would at all) is to handle Inspector.CommandBars.OnUpdate and then getting
the context menu that way. That's how we used to hack Explorer context
menus before they were exposed.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tom" wrote in message
...
Yes that is exactly what I want and have been pounding my head on my desk
trying to do

I spent the other day trying to figure out how to retrieve the context
menu command bar and could not find it. Then I started thinking that we
may have an event for the Word that I don't know about. This is why I
decided to post to the newsgroup.

So you really don't know (or have not tried) how to get the context menu
for a new message window.

Is there a newsgroup for word add-ins?

Thanks!




.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add item to context menu Muppidi Outlook - Using Forms 0 November 5th 08 01:18 PM
Context menu Mac Add-ins for Outlook 4 May 13th 08 12:27 AM
Context Menu [only] pjerling Add-ins for Outlook 1 November 1st 07 07:19 AM
Get context of context menu sublimese Add-ins for Outlook 1 October 17th 07 06:57 AM
Context Menu does not work for RTF preview window Tom at GSD Add-ins for Outlook 2 July 26th 06 09:14 PM


All times are GMT +1. The time now is 01:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.