You are here: Office-Outlook.com  / Outlook Forum

problem in handling more than one button in a COm addin for Word

Home » Outlook addins and plugins development » Developer Outlook add-ins
problem in handling more than one button in a COm addin for Word [message #792] Tue, 08 August 2006 02:17
hamidC
Messages: 4
Registered: August 2006
Junior Member
I have developed a COM addin in visual C++ for office Word which creates a
toolbar with two button on it, but I don't know how to handle more than one
button events. The problem is that my addin runs the same code for the click
of any of the two buttons.
The DISPID dispidMember (first input) of my class's Invoke() function is 1,
independent of which button has been clicked.
Previous Topic:Excel beta Solver function deleted my Outlook
Next Topic:Powerpoint behaves differently when launched via hyperlink
Goto Forum: