I'm creating a program (MFC MSVC++6) that opens a text file (viao CView Class) and then gives you the option to encode it and/or decode it by the program's own encoding algorithm. How do I load the text currently showing on the editable part of the window (it's a single document program) into a buffer.