Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Print a Report
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Print a Report

 Post Reply Post Reply
DuMa View Drop Down

Joined: 21 May 2019
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote DuMa Quote  Post ReplyReply Direct Link To This Post Topic: Print a Report
    Posted: 18 June 2019 at 9:29am

I am using the Report Control and I try to print the CXTPReportControl which is embedded in a CXTPReportView. Which calls do I need to get a printout when someone clicks on a printer button for instance.
Actually I thought that calling the PrintReport() function will do the job but I need to fill the CPrintInfo somehow. Then there the events OnPrint() and OnPreparePrinting() for instance. Do I need to call them too?

Can anyone please explain to me what are the correct steps to get a Report Control printout.

Thank you
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.078 seconds.