void CDlgLayout::OnSelchangeComboPanelSlot()
{
//TODO: Add your control notification handler code here
CString csPanelIndex;
int iPanelIndex = 0;
int nSel = ((CComboBox*)GetDlgItem(IDC_COMBO_PANEL_SLOT))->GetCurSel();
if (-1 != nSel)
{
((CComboBox*)GetDlgItem(IDC_COMBO_PANEL_SLOT))->GetLBText(nSel, csPanelIndex);
}
//这个方法不行
//GetDlgItemText(IDC_COMBO_PANEL_SLOT,csPanelIndex);
}