Toolbar and Combo Box problem
-
Hello, Over the last few weeks I have been writing a win32 application not using MFC and I have come up against a problem. I'm trying to figure out how to add a toolbar with icon buttons and a combo box below it. To get an idea of what I want here's a picture: http://k1studios.com/images/trav.gif.As you can see I want to have that exact layout but I have no idea how to develope that since I don't have the help of MFC. So if anybody has any idea I would REALLY appreciate it. :-D Thank you, Caleb
-
Hello, Over the last few weeks I have been writing a win32 application not using MFC and I have come up against a problem. I'm trying to figure out how to add a toolbar with icon buttons and a combo box below it. To get an idea of what I want here's a picture: http://k1studios.com/images/trav.gif.As you can see I want to have that exact layout but I have no idea how to develope that since I don't have the help of MFC. So if anybody has any idea I would REALLY appreciate it. :-D Thank you, Caleb
If you really want to hold buttons and combobox together at one toolbar, you should use
CDialogBar
. On the other side, the standard approach is to put buttons and combobox to two separate toolbars, that are docked together, as in the Internet Explorer. There you should useCReBar
. In both case you can design the toolbar layout in Dialog editor. Robert-Antonio