Print Page | Close Window

Need .NET ComboBox in command bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2960
Printed Date: 14 May 2024 at 8:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Need .NET ComboBox in command bar
Posted By: Yonger
Subject: Need .NET ComboBox in command bar
Date 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?




Replies:
Posted By: SuperMario
Date Posted: 19 October 2005 at 12:07pm
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net