I have an application with some dialog boxes. In one such dialog box I have a CRichEditCtrl. On the click of a button I wish to print the contents of that CRichEditCtrl. Also I would like to save the contents of the CRichEditCtrl to a file. How would I do this ?