摘要: //消除现有所有内容((CComboBox*)GetDlgItem(IDC_COMBOBOX))->ResetContent();//初始化for(int i=0; iAddString(strTemp);}//取得目前已经有的行数int iCount = ((CComboBox*)GetDlgItem(IDC_COMBOBOX))->GetCount();其他一些常用的函数: int iPos=((CComboBox*)GetDlgItem(IDC_COMBO_CF))->GetCurSel();//当前选中的行。 ((CComboBox*)GetDlgItem(IDC_C 阅读全文
posted @ 2013-10-15 22:26 hhj_321 阅读(852) 评论(0) 推荐(0) 编辑