void TestDlg::OnBnClickedDefaultRadio() { // TODO: Add your control notification handler code here m_editControl.SetWindowText(_T("50"));// here m_edit control is myedit class object and my edit class is inherited from CEdit m_editControl.SetTextColor(BLUE); CFont m_Font; // m_Font.Detach();) if (m_Font.CreateFont(-13, 0, 0, 0, FW_LIGHT, TRUE, TRUE, 0, 0, 0, 0, 0, 0, L"Arial") ) { // GetDlgItem(IDC_EDIT1)->SetFont(&m_Font); m_editControl.SetFont(&m_Font); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)