Richedit2.0控件用了之后程序不能运行,如何解决?这个应该是一个老问题了
想在edit控件中加入一个按钮,同时还要显示文本。当然下按钮后,用指定的
文本替换该按钮,如何做阿?比较急

解决方案 »

  1.   

    当然是老问题,应该先查一下FAQ的。RichEdit控件需要初始化,好像是:
    AfxInitRichEdit2();
      

  2.   

    Call this function to initialize the rich edit control (version 2.0 and later) for the application.BOOL AFXAPI AfxInitRichEdit2( );
    Res
    Call this function to load the RICHED20.DLL and initialize version 2.0 of the rich edit control. If you use rich edit through CRichEditCtrl, CRichEditView, or CRichEditDoc, you do not need to call this function.
      

  3.   

    在Edit中加入按钮?不太了解你的意思