摘要: 获得组合框控件的句柄HWND hwndCombo1 = GetDlgItem(hwnd, IDC_COMBO1);确定目前选项的索引 int curSel = ComboBox_GetCurSel(hwndCombo1);删除项 ComboBox_DeleteString(hwndCombo1, 2);取得有多少项int getCount = ComboBox_GetCount(hwndCombo1);TCHAR getcount[256];itoa(getCount, getcount, 10);MessageBox(hwnd, getcount, TEXT("总计有多少项&quo 阅读全文
posted @ 2013-08-06 08:22 waldmer 阅读(596) 评论(0) 推荐(0) 编辑