A
Alex Korchemniy
I created an ATL COM addin for Microsoft Word. I am having a problem with
combo boxes. I create the combo boxes with the application first start and I
sink the events for them. When I have multiple documents opened I end up
pulling data and receiving events only for the first instance of the combo
box.
After realizing that my approach was flawed I attempted to catch the "New"
and "Open" document events and start an instance of a document wrapper class
that I created. However this again fails. Somehow the events get mangled.
Maybe I'm on the right track but not there all the way.
What is the correct way of using combo boxes in a commandbar with multiple
Word documents??
combo boxes. I create the combo boxes with the application first start and I
sink the events for them. When I have multiple documents opened I end up
pulling data and receiving events only for the first instance of the combo
box.
After realizing that my approach was flawed I attempted to catch the "New"
and "Open" document events and start an instance of a document wrapper class
that I created. However this again fails. Somehow the events get mangled.
Maybe I'm on the right track but not there all the way.
What is the correct way of using combo boxes in a commandbar with multiple
Word documents??