Solved

CFormView - printing and print preview

Posted on 1998-04-08
2
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  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 …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

635 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