CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    begin with CRichEditView

    hi,i just begin programing with CRichEditView,and i wanna show the content
    of a txt file which length exceeds 64k, i can only fopen the file, fgets
    the content and put into char[], and SetWindowText(char[]). but is it the only one method?
    and one more thing,how about the bCharSet of CHARFORMAT? does it can be set to different language? such as chinese?

    please help me. thank you so much.

    tica
    1999.05.21


  2. #2
    Join Date
    May 1999
    Posts
    4

    Re: begin with CRichEditView

    If you want to open a TXT file simple set the m_bRTF flag in the Document (CRichEditDoc::m_bRTF)
    to FALSE. You will see your text as possible.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured