PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Third-Party Utilities Context Menu

Reply

Context Menu

 
Thread Tools Rate Thread
Old 05-08-2003, 11:31 PM   #1
Alex Ionescu
Guest
 
Posts: n/a
Default Context Menu


Hello everyone,

I'm developping an add-in that, among other things, will add a new item to
the context menu (when you right-click on a message).
I've noticed that the menu is only created after the user first right-clicks
on a message. No problem, since I'm subclassing OE anyways for another
function of the addin.
I am sucesful in using Set objCB = objExpl.CommandBars.Item("Context Menu")
and if I set a watch on objCB I can see all the items of the Context Menu.
However, should I try to add, modify, remove or change any single setting of
any item on the context menu, Outlook returns a failure. Did Microsoft
disable this? Any way around it? And when I ask any way.... I mean any
way...I've already created a button with createwindowex that I've attached
to a subclassed toolbar (so I can have a picture over 16x16) so I'm not
afraid to do some crazy hacking with the menu to make it do what I want it.

Thanks everyone for your suggestions,
Alex Ionescu


  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

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