lab12
void Clab12Dlg::OnEnChangeEditSource()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialogEx::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
CString srcText;
m_editSource.GetWindowText(srcText);
m_editDestination.SetWindowText(srcText);
m_staticDestination.SetWindowText(srcText);
}

ไม่มีความคิดเห็น:
แสดงความคิดเห็น