关于Combo box 通过 GetDlgItem (ID) 获取 Combobox 对象。使用 GetWindowText 从该对象获取 Edit 控件中的字符串。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 // The pointer to my combo box.extern CComboBox* pmyComboBox;DWORD dwSel;// Set the selection to be all characters after the current selection.if ((dwSel=pmyComboBox->GetEditSel()) != CB_ERR){ pmyComboBox->SetEditSel(HIWORD(dwSel), -1);} 打开msdn 搜ccomboBox 仔细看看成员函数的用法。 关于try... catch 文件传输WriteFile出错 重复调用日志函数会出现冲突或者错误吗? 有没有在学习google的开源代码tesseract的呀 请教:使用VC6的MFC Wizard添加函数时,文件丢失 关于COM组件的问题 VC中调用Word 如何从数据源中提取出用户名和密码以及描述信息? 有些神奇!!谁知道这是为什么啊? 如何在程序里调用google并返回结果? 线程结束出现问题??? 一个有趣的问题
extern CComboBox* pmyComboBox;
DWORD dwSel;// Set the selection to be all characters after the current selection.
if ((dwSel=pmyComboBox->GetEditSel()) != CB_ERR)
{
pmyComboBox->SetEditSel(HIWORD(dwSel), -1);
}