void CFtcOamDlg::OnCbnSelchangeComboCmd()
{
TRACE(">TRC:%s:%d\n",__FUNCTION__,__LINE__);
int iSelIdx;
CString CStrCombo, CStrLine;
char *pCharStr;
int iCStrLen;
iSelIdx = m_CComboCmd.GetCurSel();
TRACE("-TRC:Idx = %d\n",iSelIdx);
iCStrLen = m_CComboCmd.GetLBTextLen(iSelIdx);
m_CComboCmd.GetLBText(iSelIdx,CStrCombo.GetBuffer(iCStrLen));
CStrLine += CStrCombo.GetBuffer(iCStrLen);
m_CEditCmdLine.SetWindowTextW(CStrLine);
TRACE("<TRC:%s:%d\n",__FUNCTION__,__LINE__);
}
댓글 없음:
댓글 쓰기