[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

CFormView - printing and print preview

I have a class derived from CFormView. The dialog resource contains several list boxes. I need to be able to display these list boxes in Print Preview and to print them.
Basically I want to print the complete contents of the client area of the window including lists etc.
I don't want to convert this to a bitmap because of the loss of resolution.

Any Ideas ? ............
0
philhand
Asked:
philhand
1 Solution
 
perrizoCommented:
Hi,

I needed to do almost the same thing a while back and found some pretty good code to look through to print list boxes you can find it at

http://codeguru.com/printing/generic_print_class.shtml

If you download the source and take a look through it I think you'll find everything you need.lots of luck,

Nathan Perrizo
0
 
philhandAuthor Commented:
Thanks Nathan!!

   I've downloaded the source code and it looks very promising

Cheers Phil Hand
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now