PC Review


Reply
Thread Tools Rate Thread

Context menu for new message window

 
 
Tom
Guest
Posts: n/a
 
      15th Mar 2010
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


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      15th Mar 2010
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>


 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      15th Mar 2010
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> 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
>>

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      15th Mar 2010
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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!


 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      15th Mar 2010
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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!

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      16th Mar 2010
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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!


 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      16th Mar 2010
I will give it a try and I will let you know what I find out.

Thanks Ken!!!



"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:O$(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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!

>



 
Reply With Quote
 
joshmerchant
Guest
Posts: n/a
 
      23rd Apr 2010
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]" <(E-Mail Removed)> wrote in message
> news:O$(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> 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!

> >

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Context Menu does not work for RTF preview window =?Utf-8?B?VG9tIGF0IEdTRA==?= Microsoft Outlook Program Addins 2 26th Jul 2006 08:14 PM
How to add About... entry to Window (top left) Context Menu? Joe HM Microsoft VB .NET 1 14th Apr 2006 01:24 AM
immediate window context menu shortcut =?Utf-8?B?emlubw==?= Microsoft Dot NET 0 10th Aug 2005 03:18 PM
MSAS scan on window context menu chris Spyware Discussion 1 17th Apr 2005 07:32 PM
command window from harddisk drive context menu in explorer Johannes Rauh Microsoft Windows 2000 File System 0 17th Apr 2004 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 PM.