OnChangeEDIT 这个就是在编辑框发生变化时产生的。。

解决方案 »

  1.   

    我需要自定义个类,继承CEDIT类,然后重载WM_CHAR,这样用吗?
      

  2.   

    CWnd::OnUniChar
    The framework calls this member function when a key is pressed. That is, the current window has the keyboard focus and a WM_KEYDOWN message is translated by the TranslateMessage function. afx_msg void OnUniChar(
            UINT nChar, 
        UINT nRepCnt, 
        UINT nFlags
    );
      

  3.   

    CEdit inherits significant functionality from CWnd你懂的
      

  4.   

    "我需要自定义个类,继承CEDIT类,然后重载WM_CHAR,这样用吗?"
    是的