思路:首先要获得当前选中的index,再根据index获得相关的字符串
CString tmp="";
int index=((CComboBox*)GetDlgItem(IDC_COMBO1))->GetCurSel();
((CComboBox*)GetDlgItem(IDC_COMBO1))->GetLBText(index,tmp);
其中IDC_COMBO1是Combobox的ID