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

H

hamidC++

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top