Discussion:
Outlook2007 VSTO Get right Mousebutton Click on a Office.MsoControlType.msoControlButton
(too old to reply)
Alex
2010-04-06 12:13:30 UTC
Permalink
Hello!

Is there a Way, to get the right Mousebutton Click? I cant find a
ClickEventHandler for that. I want to show the Addin Version, when the user
makes a right Mousebutton Click on my Controlbutton.

Thanks for help

Greetings Alex
Ken Slovak - [MVP - Outlook]
2010-04-06 12:56:08 UTC
Permalink
Nothing is exposed for that. About the only way to do it would be to
subclass Windows messages and handle those directed to that control and see
if they are right-click mouse clicks. That would involve heavy Win32 API
hacks, if it could be done at all.
--
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
Post by Alex
Hello!
Is there a Way, to get the right Mousebutton Click? I cant find a
ClickEventHandler for that. I want to show the Addin Version, when the
user makes a right Mousebutton Click on my Controlbutton.
Thanks for help
Greetings Alex
Alex
2010-04-07 06:20:47 UTC
Permalink
Thanks for you Answer Ken,

thats to much work for me. :-)

I will use a Menuitem or anything else to open the About Window.

Greetings Alex
Post by Ken Slovak - [MVP - Outlook]
Nothing is exposed for that. About the only way to do it would be to
subclass Windows messages and handle those directed to that control and
see if they are right-click mouse clicks. That would involve heavy Win32
API hacks, if it could be done at all.
--
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
Post by Alex
Hello!
Is there a Way, to get the right Mousebutton Click? I cant find a
ClickEventHandler for that. I want to show the Addin Version, when the
user makes a right Mousebutton Click on my Controlbutton.
Thanks for help
Greetings Alex
Loading...