Implementing my own print preview?

后端 未结 4 713
别那么骄傲
别那么骄傲 2021-01-03 04:48

I have developed my own Report Control which is simply nothing but drawing text on a CDC of the control window\'s client DC. I have got the printing function to work too. Th

4条回答
  •  长情又很酷
    2021-01-03 05:31

    I had tweeked this code in order to compile it as static lib. It is for dialog based applications.
    If you don't need special functionality it will work ok for you.

    I had to dig through MFC mechanisms to add extra functionality but at the end I dropped it. If you know other programming languages, try to find a print preview control in that language, make it a dll and use it from your MFC application.

    For example, I found the NicePreview control for Delphi and it worked, for me, beautifully !

提交回复
热议问题