MFC - Printing rtf document
How to print a RTF document in a MFC application without displaying it?
The user will go through the following step to print the file: 1. Choose the rtf file. 2. A pri开发者_如何学运维nt dialog box will appear after that 3. Press OK to print the file.
You can load it in an invisible CRichEditCtrl and pass a printer DC when sending WM_PRINT to the window.
精彩评论