Solved

MDI application prints very small...

Posted on 2006-11-01
1
151 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 42
How to calculate times for developing software? 8 67
Expand macro to include alternate header placement and naming 5 71
sum13 challenge 24 106
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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