Solved

CFormView - printing and print preview

Posted on 1998-04-08
2
484 Views
Last Modified: 2012-05-04
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
Comment
Question by:philhand
2 Comments
 
LVL 1

Accepted Solution

by:
perrizo earned 150 total points
ID: 1184124
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
 

Author Comment

by:philhand
ID: 1184125
Thanks Nathan!!

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

Cheers Phil Hand
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 171
mixing C++ & C# in Vis Studio 2013 7 141
Create a path if not exists 7 69
C++ mouse_event mouse look 7 70
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now