I am trying to insert a ComboBox control in a ToolBar using Borland C++ 4.0, without any success.
Here's what the code looks like:
// starting code
TComboBox *combo = new TComboBox(frame, ID_COMBO);
TControlGadget *cg = new TControlGadget(*combo);
cb->Insert( *cg );
This code does nothing, in other words the program works as it should except no ComboBox is shown anywhere.
Please help me, if you can!