MsoControlType Enumeration
Specifies the type of the command bar control.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Usage
Dim msoControlType1 As MsoControlType = MsoControlType.msoControlActiveX
Syntax
Public Enum MsoControlType
public enum MsoControlType
public enum class MsoControlType
public enum MsoControlType
public enum MsoControlType
Members
Member name | Description |
---|---|
msoControlActiveX | ActiveX control. |
msoControlAutoCompleteCombo | Combo box in which the first matching choice is automatically filled in as the user types. Cannot be created through the object model. |
msoControlButton | Command button. |
msoControlButtonDropdown | Drop-down button. Cannot be created through the object model. |
msoControlButtonPopup | Pop-up button. Cannot be created through the object model. |
msoControlComboBox | Combo box. |
msoControlCustom | Custom control. Cannot be created through the object model. |
msoControlDropdown | Drop-down list. |
msoControlEdit | Text box. |
msoControlExpandingGrid | Expanding grid. Cannot be created through the object model. |
msoControlGauge | Gauge control. Cannot be created through the object model. |
msoControlGenericDropdown | Generic drop-down list. Cannot be created through the object model. |
msoControlGraphicCombo | Graphic combo box. Cannot be created through the object model. |
msoControlGraphicDropdown | Graphic drop-down list. Cannot be created through the object model. |
msoControlGraphicPopup | Graphic pop-up menu. Cannot be created through the object model. |
msoControlGrid | Grid. Cannot be created through the object model. |
msoControlLabel | Label. Cannot be created through the object model. |
msoControlLabelEx | Extended label. Cannot be created through the object model. |
msoControlOCXDropdown | OCX drop-down list. Cannot be created through the object model. |
msoControlPane | Pane. Cannot be created through the object model. |
msoControlPopup | Pop-up. |
msoControlSpinner | Spinner. Cannot be created through the object model. |
msoControlSplitButtonMRUPopup | Most Recently Used (MRU) pop-up. Cannot be created through the object model. |
msoControlSplitButtonPopup | Split button pop-up. Cannot be created through the object model. |
msoControlSplitDropdown | Split drop-down list. Cannot be created through the object model. |
msoControlSplitExpandingGrid | Split expanding grid. Cannot be created through the object model. |
msoControlWorkPane | Work pane. Cannot be created through the object model. |
Remarks
Used with the Add method of the CommandBarControls object. Only a limited set of the control types can be created via the CommandBars object model: msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, msoControlPopup, and msoControlActiveX. Other control types may exist on built-in or add-in command bars, but cannot be created via the object model.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000