Solved

CFormView - printing and print preview

Posted on 1998-04-08
2
494 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

813 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

11 Experts available now in Live!

Get 1:1 Help Now