Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Context Menu does not work for RTF preview window

Geek News

Context Menu does not work for RTF preview window
Tom at GSD 7/22/2006 9:42:01 PM
Hi,
I have added a submenu to the context menu for the message preview window
and it works fine as long as the message in the preview window is an HTML
document window. I saw a nice example at
http://www.codeproject.com/atl/outlook2k3addin.asp and it works great for
HTML windows. However for an RTF window it does not work. When I right click
directly IN the preview window - when it is an RTF window - I do not see the
context menu item in the command bar items. Does anybody know how I can
modify the context menu (when clicking in the preview window) when the
message is an RTF message? If I click on any other of the panes I get the
context menu. But when I click directly in the RTF message window I do not.
Any suggestions would be greatly appreciated.

Thanks
RE: Context Menu does not work for RTF preview window
Tom at GSD 7/26/2006 7:07:02 PM
I solved my own problem by writing a whole bunch of code. The only way to do
this by going into the windows API and finding the control window and
hooking. This is not something the novice windows programmer should attempt.
I hope Outlook 2007 is improved and will provide some necessary plugin logic.

"Tom at GSD" wrote:

[Quoted Text]
> Hi,
> I have added a submenu to the context menu for the message preview window
> and it works fine as long as the message in the preview window is an HTML
> document window. I saw a nice example at
> http://www.codeproject.com/atl/outlook2k3addin.asp and it works great for
> HTML windows. However for an RTF window it does not work. When I right click
> directly IN the preview window - when it is an RTF window - I do not see the
> context menu item in the command bar items. Does anybody know how I can
> modify the context menu (when clicking in the preview window) when the
> message is an RTF message? If I click on any other of the panes I get the
> context menu. But when I click directly in the RTF message window I do not.
> Any suggestions would be greatly appreciated.
>
> Thanks
Re: Context Menu does not work for RTF preview window
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 7/26/2006 7:14:50 PM
Outlook 2007 provides interfaces for several Application-level context menus.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Tom at GSD" <TomatGSD[ at ]discussions.microsoft.com> wrote in message news:FB248576-69AB-4E12-AE00-FBACED0D5147[ at ]microsoft.com...
[Quoted Text]
>I solved my own problem by writing a whole bunch of code. The only way to do
> this by going into the windows API and finding the control window and
> hooking. This is not something the novice windows programmer should attempt.
> I hope Outlook 2007 is improved and will provide some necessary plugin logic.
>
> "Tom at GSD" wrote:
>
>> Hi,
>> I have added a submenu to the context menu for the message preview window
>> and it works fine as long as the message in the preview window is an HTML
>> document window. I saw a nice example at
>> http://www.codeproject.com/atl/outlook2k3addin.asp and it works great for
>> HTML windows. However for an RTF window it does not work. When I right click
>> directly IN the preview window - when it is an RTF window - I do not see the
>> context menu item in the command bar items. Does anybody know how I can
>> modify the context menu (when clicking in the preview window) when the
>> message is an RTF message? If I click on any other of the panes I get the
>> context menu. But when I click directly in the RTF message window I do not.
>> Any suggestions would be greatly appreciated.
>>
>> Thanks

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net