如上,想要自定义打印预览的界面,不知如何下手

解决方案 »

  1.   

    看看以下几篇MSDN文档不知道是否对你有用:HOWTO: How to Do Away with the Print Dialog Box in MFC Printing 
    ID: Q140538 
    HOWTO: Customize the Common Print Dialog Box 
    ID: Q132909 
    HOWTO: Overriding Initial Setting on Print Setup Dialog
    ID: Q166130 
    HOWTO: How to Enable Selection Button in Print Dialog Box 
    ID: Q150288 
    Changing the Page Orientation to Landscape Without Interacting with the Print Dialog Box in an MFC-Based Application
    ID: Q214617 使用方法: 在MSDN的搜索页搜索ID号或者到www.codeguru.com
    www.codetools.com
    去看看吧!
      

  2.   

    楼上的我找过了,没找到!看来要重载CView::DoPreparePrinting(CPrintInfo* pInfo)才行,有没有人作过呀?很急呀