15,979
社区成员
发帖
与我相关
我的任务
分享
void CCBlistDlg::OnSelchangeCombo2()
{
// TODO: Add your control notification handler code here
int index=m_Comb2.GetCurSel();
afxDump << index << "\n";
if(index==4)
{
m_Comb2.SetCurSel(m_LastSel);
}
else
{
m_LastSel=index;
}
}
//
void CCBlistDlg::OnSelchangeCombo2()
{
// TODO: Add your control notification handler code here
int index=m_Comb2.GetCurSel();
if(index==4)
{
m_Comb2.SetCurSel(-1); // 第4项不能被 选中 !
}
}