Customizing print preview
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Customizing print preview

  1. #1
    Join Date
    Jan 2009
    Posts
    190

    Customizing print preview

    Hi all of you.

    I intend to customize the print preview, after what MSDN said:
    https://msdn.microsoft.com/en-us/library/aabc3hc6.aspx
    And I have tried in MFC feature pack this solution ... but I get an mixed dialogbar for print-preview:
    http://imgur.com/a/SFNID
    Strange mix of MFC feature pack print preview dialogbar, and my custom print preview dialogbar ... I attach the test VS2008 project below.

    It is possible to customize the print-preview in MFC feature pack apps ?
    Attached Files Attached Files
    Last edited by mesajflaviu; June 4th, 2017 at 01:22 AM.

  2. #2
    Join Date
    Jan 2009
    Posts
    190

    Re: Customizing print preview

    Another solution would be using CBasePane::HideInPrintPreviewMode:
    https://msdn.microsoft.com/en-us/lib...intpreviewmode
    but when CDockablePane is part of CChildFrame, is simply not working ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)