谢谢

解决方案 »

  1.   

    CRichEditCtrl::LineLength
    int LineLength( int nLine = -1 ) const;Return ValueWhen LineLength is called for a multiple-line edit control, the return value is the length (in bytes) of the line specified by nLine. When LineLength is called for a single-line edit control, the return value is the length (in bytes) of the text in the edit control.最好升级到2.0http://community.csdn.net/Expert/topic/4236/4236456.xml?temp=.4317896
    b.升级默认的Riched版本(默认的有一些bug),如
    可在InitInstance中添加
    LoadLibrary("RICHED20.DLL") 
    最后注意 FreeLibrary