banner despecable me2

วันพุธที่ 10 กรกฎาคม พ.ศ. 2556

lab12 การเพิ่ม Edit Control ใน Dialog based Application


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);
}

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

แสดงความคิดเห็น