【转】CEdit & CRichEdit 使用技巧
Jan 31st, 2007 by song

作者:lixiaosan
日期:04/07/2006

注:
       m_edit1代表ID为IDC_EDIT1的CEdit控件的control类型的变量
       m_richedit1代表ID为IDC_RICHEDIT1的CRichEditCtrl控件的control类型的变量

——————————————————————————–
1.设置edit只读属性

   方法一:
               m_edit1.SetReadOnly(TRUE);
   方法二:
               ::SendMessage(m_edit1.m_hWnd, EM_SETREADONLY, TRUE, 0);
Read the rest of this entry »

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »