开发者

MFC - Printing rtf document

开发者 https://www.devze.com 2022-12-09 20:45 出处:网络
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:

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

精彩评论

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