Solved

MDI application prints very small...

Posted on 2006-11-01
1
152 Views
Last Modified: 2013-11-20
Hello World!

I have an MDI application that implements a tree structure showing some data, the lines of the tree are shown on screen using a CTreeCtrlEx class that allows the branches of the tree to be expanded and collapsed.

My problem is that when I try to print the window, it does two things..

1) it only seems to print the current "clipped" view of the tree.
2) it prints it really really really really small... about a 3/4 inch tall for about 30 lines of text...

I guess what I need to do is to override the print so that I can print my tree on many pages... How do I go about this?

0
Comment
Question by:bganoush
1 Comment
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 250 total points
ID: 17855827
I am not very much sure about your query but may be following is helpful to your purpose :

A Print Enabled Tree View : http://www.codeguru.com/Cpp/controls/treeview/misc-advanced/article.php/c687

A Print Enabled Tree Control : http://www.codeguru.com/Cpp/controls/treeview/classes/article.php/c641

-MAHESH
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

860 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