Trouble with RichEdit

Posted on 2004-11-23
Last Modified: 2013-11-20
Hi guys!
I've got a problem with the RichEdit in Visual C++, when I load a rtf file into my RichEdit, it's only display about 4KB of the files, and I don't know why? Is it a limitation of RichEdit. How can I load a large rtf file into my RichEdit.
Some sample lines of code are welcome!
Thank in advance.
Question by:emule
    LVL 6

    Expert Comment

    by:Amritpal Singh
    plz have alook at the following link

    i hope it 'll be of help
    LVL 9

    Accepted Solution

    The default limitation is 32K, you can use EM_EXLIMITTEXT to set the new limitation...
    For a complete sample of how to use a RichEdit control, you can search "WORDPAD: The Windows 95 Application" in your MSDN, you will get the whole source code of WordPad.exe

    Author Comment

    Thank guys! :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now