Generic vs. Built-in Controls

J

Joshua

I am working in Word 2000.
The VBA help seems to define 3 different types of controls:
1. ActiveX controls - which are beyond the scope of my question.
2. CommandBarControls - button, popup, and combobox primitives.
3. Built-In Controls - that can be modified, but are not fully exposed to
VBA
programming.

The help files inconsistently group together the command-bar controls and
the the built-in controls. For example, the "Type Property" help article
lists them together. But properties and methods are described only for the
button, popup, and combobox CommandBarControl objects.

General Question:
How do I find out the properties/methods for "built-in" controls like the
standard Styles drop-down - defined as an msoControlGraphicDropdown? How do
I copy and modify these controls?

Specific Question:
I want to create a drop-down with a limited list of paragraph styles, with
no option for the user to add to the list. Would it be easier to try to
modify the existing Styles control, or just create a drop-down of my own?
Should I create my own msoControlGraphicDropdown - can I do that? Or should
I just use button controls to build a menu?

Thanks,
Joshua
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top