15,979
社区成员
发帖
与我相关
我的任务
分享
void CXXDlg::OnSelchangeListBox()
{
// TODO: Add your control notification handler code here
CString str;
m_listbox.GetText(m_listbox.GetCurSel(), str);
if(0 == str.CompareNoCase(_T("A")))
{
AfxMessageBox(_T("A"));
}
else if(0 == str.CompareNoCase(_T("B")))
{
AfxMessageBox(_T("B"));
}
}