C
casper
I'm just at beginning to write a addin. and i started with the MS demo:
"SAMPLE:Comaddin.exe Office 2000 COM Add-In Written in Visual C++"(http://support.microsoft.com/default.aspx?scid=kb;EN-US;230689)
It works fine when word app is loading. But when i create a new word document in other container, for example, when i create a new word doc with another MS demo:"SAMPLE: FramerEx is an MDI ActiveX Document Container Sample Written in C++ "(http://support.microsoft.com/default.aspx?scid=kb;EN-US;268470), the command bar button added by the addin doesn't response the click event.
I've debuged the addin and it sames to go through every code successfully. But it still does't response the click event.
By the way, i've added a menu item use the same method, it work's ok both in word app and in embeded word document.
Can anybody helps me?
"SAMPLE:Comaddin.exe Office 2000 COM Add-In Written in Visual C++"(http://support.microsoft.com/default.aspx?scid=kb;EN-US;230689)
It works fine when word app is loading. But when i create a new word document in other container, for example, when i create a new word doc with another MS demo:"SAMPLE: FramerEx is an MDI ActiveX Document Container Sample Written in C++ "(http://support.microsoft.com/default.aspx?scid=kb;EN-US;268470), the command bar button added by the addin doesn't response the click event.
I've debuged the addin and it sames to go through every code successfully. But it still does't response the click event.
By the way, i've added a menu item use the same method, it work's ok both in word app and in embeded word document.
Can anybody helps me?