我建了一个单文档数据库程序。但显示统计结果时用了一个Dialog.我怎么将Dialog上显示的结果,打印预览?和打印?

解决方案 »

  1.   

    调用 哪个打印的MFC
    我在做中
      

  2.   

    A couple of articles you might want to take a look at.  How to Do Away with the Print Dialog Box in MFC Printing
      Article ID: Q140538
      http://support.microsoft.com/support/kb/articles/q140/5/38.asp?FR=0  Print from a Class Other Than CView
      Article ID: Q133275
      http://support.microsoft.com/support/kb/articles/q133/2/75.asp?FR=0
      

  3.   

    and there is an example explaining hwo to use it
    http://www.vchelp.net/vchelp/archive.asp?type_id=5&class_id=1&cata_id=1&article_id=536