N
Nuno Magalhaes
Hello,
I'm working on a add-in project for Microsoft Word and I can't figure
how to get the button events working.
I create a project with Visual Studio .NET using the IDTExtensibility2
interface... I get the application, the documents, and the command bar
buttons.
I create a commandbar with a button but I can't catch the pressing
event (I know that I can use macros with the put_OnAction command but
I would like to catch the events inside my C++ ATL/MFC application).
Any suggestions?
Should I use the IDispEventSimpleImpl and the BEGIN_SINK_MAP?
I'm working on a add-in project for Microsoft Word and I can't figure
how to get the button events working.
I create a project with Visual Studio .NET using the IDTExtensibility2
interface... I get the application, the documents, and the command bar
buttons.
I create a commandbar with a button but I can't catch the pressing
event (I know that I can use macros with the put_OnAction command but
I would like to catch the events inside my C++ ATL/MFC application).
Any suggestions?
Should I use the IDispEventSimpleImpl and the BEGIN_SINK_MAP?