Add combo box on toolbar 
Author Message
 Add combo box on toolbar

Petzold book is great for Windows Forms application development...
( If you're a C/C++ Windows developer, think of Petzold's latest as the
"Programming Windows 6th Ed." but without the Win32API part...)

Professional C# is OK, but the best resource to learning quickly and
completely is the C# specs/whitepaper on MSDN...

MCAD and MCSD for .NET come out in June/July... (Web Services and Windows
Forms Tracks) Search on Fatbrain, buy on Amazon...

-Moe


Quote:
> Not sure if this is the right place to post.

> I am writing a Windows form application using C#.
> wondering if it's possible to put combo box control on a
> toolbar. Remember VB6.0 is able to do it.

> Appreciate your help.



Sun, 12 Sep 2004 09:17:38 GMT  
 Add combo box on toolbar
Wrong reply...
Sorry.

However, yes... You can place a combobox on a Windows Form toolbar...


Quote:
> Not sure if this is the right place to post.

> I am writing a Windows form application using C#.
> wondering if it's possible to put combo box control on a
> toolbar. Remember VB6.0 is able to do it.

> Appreciate your help.



Sun, 12 Sep 2004 09:31:47 GMT  
 Add combo box on toolbar
I think you can also add combobox to toolbar as we did before.

-------------------- Here is a post by Krishna before

When designing the toolbar, you need to add seperators on the toolbox and
ID them. Next create a panel and add the required controls (like text box
and combobox etc)...
Now during runtime, use SendMessage and change the seperator length (ID'd
previously) to the width of the panel and re-parent the panel's parent to
be the toolbar and change the location... Handle resizing of the toolbar
and move the panel....

--------------------------------------

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net?  http://www.gotdotnet.com



Sun, 12 Sep 2004 15:30:04 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Toolbar:Dynamically adding a combo box

2. How to add a combo box to toolbar?

3. Add Combo Box to Dialog Box

4. Add a combo box in a dialog box...

5. how to place font or color combo box in toolbar

6. Toolbar with Combo Box

7. combo box and toolbar

8. q: toolbar drop down combo box and document data

9. MFC/SDI: "Combo Box" and Toolbar

10. How to insert a combo box into a toolbar

11. Toolbar and combo box

12. When to load things into a Combo box in a toolbar

 

 
Powered by phpBB® Forum Software