How do I load an entire file into a rich text control?

To load an entire file into a rich text control, you can use the message, which accepts an of data all at once. Once you find the message, it's pretty straightforward how to use it, but I'll write out the code anyway; You pretty much follow your nose. The message wants you to tell it the format of the stream () and provide a pointer to an s...