Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MDI application prints very small...

Posted on 2006-11-01
1
Medium Priority
?
158 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 1000 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Screencast - Getting to Know the Pipeline
Suggested Courses

886 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