Need .NET ComboBox in command bar |
Post Reply |
Author | |
Yonger
Newbie Joined: 08 August 2005 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 28 September 2005 at 10:46am |
I need to have a full .NET ComboBox in my command bar. For cosmetic reasons I am being told to move an existing ComboBox into my command bar. I can't find any way to add the .NET ComboBox directly into the command bar...it only allows your controls. I added one of your ComboBoxes there but it takes strings not objects as items. Is there some way to add a standard .NET ComboBox to a command bar or are there plans to allow your ComboBoxes to contain something more useful than just a string? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Use the CommandBarControlCustom object and attach the handle of the .NET combo to it.
You can see the SDI CommandBars sample on how to add custom controls, but that is a VB 6 project. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |