Useful function to setup combo boxes

The Function


//*************************************
//*************************************
//********** SETUP COMBO BOX **********
//*************************************
//*************************************
private: void SetupComboBox (System::Windows::Forms::ComboBox ^TargetComboBox, int DefaultItem, array ^Items)
{

 (more...)

Using Combo Boxes

Loading the contents of a comboBox at application startup


	cmbMyComboBox->BeginUpdate();
	cmbMyComboBox->SelectedIndex = -1;
	cmbMyComboBox->Items->Clear();		//Remove Existing Items If Necessary

 (more...)