Message 1 of 1
How to create specialized controls? Button Pop-up, Button MRU Split, etc

Not applicable
05-21-2011
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can create the regular button, but I cannot create any specialized controls.
If anyone has an example, could you please to help me?
I see the MRU button sample in Help, but it uses CommandBarControl. I try to use CommandControl, but it doesn't work
Private Sub CreateOrUpdateRibbonInterface()
oRibbon0 = m_inventorApplication.UserInterfaceManager.Ribbons.Item("ZeroDoc")
Dim oQAT0 AsCommandControls
oQAT0 = oRibbon0.QuickAccessControls
Dim oCustomControl AsCommandControl
oCustomControl = oQAT0.AddButtonPopup(m_Button0Def)
oCustomControl.ChildControls.AddButton(m_Button1Def)
oCustomControl.ChildControls.AddButton(m_Button2Def)
End Sub
Thank in advance!