Outlook Reply Menu Option

Add-in Express™ Support Service
That's what is more important than anything else

Outlook Reply Menu Option
 
Alex Rakov




Posts: 31
Joined: 2006-11-16
Hi,

I tried to override Reply and ReplyAll commands.

I managed to do it for toolbar and keyboard short-cut. But cannot hook
on Menu - Actions - Reply.

I used BuiltInControl with 354 and 355 ids, KeyboardShortcut, ExploredCommandBar and InspectorCommandBar.

Could you please help me.

P.S. I used the version of ADX from 30.10.2006
Posted 16 Nov, 2006 05:55:14 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Alex.

You just need to add a new ADXBuiltInControl component, set the Id to 354 and bind the component with a new explorer/inspector command bar with CommandBarName = MenuBar. Please use our 'Built-In Controls Scanner' tool to learn about all available IDs of Office applications.
http://www.add-in-express.com/downloads/controls-scanner.php


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 16 Nov, 2006 08:35:03 Top
Alex Rakov




Posts: 31
Joined: 2006-11-16
Thank you very much.

Now it works
Posted 16 Nov, 2006 10:24:43 Top
Alex Rakov




Posts: 31
Joined: 2006-11-16
And how to hook Context Menu?

I tried the same logic but got two Context Menu (as I saw with BuiltInControlsScanner.exe)
Posted 16 Nov, 2006 11:09:37 Top
Alex Rakov




Posts: 31
Joined: 2006-11-16
Hi again,

So is there any simple solution of this problem?

I understand that the problem is the fact that a context menu is created
only after pressing a mouse right button. Maybe I should simulate this
pressing?
Posted 17 Nov, 2006 09:12:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Posted 17 Nov, 2006 09:22:14 Top
Alex Rakov




Posts: 31
Joined: 2006-11-16
But how can I replace already existing menu options like Reply?

Can I use BuiltInControl?
Posted 17 Nov, 2006 10:51:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Do you want to replace the Reply button in the context menu?
Posted 17 Nov, 2006 12:03:40 Top
Alex Rakov




Posts: 31
Joined: 2006-11-16
Yes. I need to perform some additional actions on reply.

So I decided to override all Outlook reply actions including Context menu.

Maybe you could suggest the better way? Couse I have the problem with
Outlook after the program uninstall. Reply / Reply All menu options
don't work. I have to perform Reset action.
Posted 20 Nov, 2006 02:14:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Alex.

What exactly actions do you want to perform? Probably you could use the ItemSend event to run your actions.
If you connect to built-in controls, you need to call Reset method of the command bar/controls while the add-in is uninstalled.
E.g. it can be done from the AfterUninstallControls or BiforeUninstallControls event handlers of the addinmodule.
Posted 20 Nov, 2006 13:18:09 Top