开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜