M
Mike Litzkow
I am working with a Word document using managed code with Visual Studio Tools
For Office. I found a nice article in MSDN Library called "How to: Interact
with Buttons, Lists, and Other Controls", which gives part of the answer.
This article and several linked walkthroughs describe adding such a control
using Word menus, then setting up a delegate to handle the events generated
by the control in managed code. That's good as far as it goes, but I don't
know how many controls I will need to add or where they will be located until
interacting with the user. I need to add the controls dynamically at run
time, and want to do it with managed code. How can I do this?
For Office. I found a nice article in MSDN Library called "How to: Interact
with Buttons, Lists, and Other Controls", which gives part of the answer.
This article and several linked walkthroughs describe adding such a control
using Word menus, then setting up a delegate to handle the events generated
by the control in managed code. That's good as far as it goes, but I don't
know how many controls I will need to add or where they will be located until
interacting with the user. I need to add the controls dynamically at run
time, and want to do it with managed code. How can I do this?