M
Mike Oliver
I have written a custom command bar for Word 2003 that has a
CommandBarComboBox on it. This represents a value that is unique to
the document. When I have multiple documents up and the user switches
between the documents, I am trying to set this value by doing
something like: oComboBox.ListIndex = 3.
When I do this, ALL of my custom toolbar combo boxes are changed. I'm
writing this in C++ so I can't provide a quick sample, but before I
set the ListIndex, I am setting CustimizationContext to ActiveDocument
and I am working from the CommandBars returned from
Application.ActiveDocument.Application.CommandBars.
How do I access the particular combo box on the custom toolbar for the
active document???
Thanks,
Mike Oliver
CommandBarComboBox on it. This represents a value that is unique to
the document. When I have multiple documents up and the user switches
between the documents, I am trying to set this value by doing
something like: oComboBox.ListIndex = 3.
When I do this, ALL of my custom toolbar combo boxes are changed. I'm
writing this in C++ so I can't provide a quick sample, but before I
set the ListIndex, I am setting CustimizationContext to ActiveDocument
and I am working from the CommandBars returned from
Application.ActiveDocument.Application.CommandBars.
How do I access the particular combo box on the custom toolbar for the
active document???
Thanks,
Mike Oliver