Solved

Printing  CTree Ctrl

Posted on 1998-06-24
2
163 Views
Last Modified: 2013-11-20
I want to print the contents of a CTree control.

Please give me the steps to do the same with references.
0
Comment
Question by:prasadg
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1318399
CTreeCtrl is derived from CWnd, which has a member function CWnd::Print. Call it with a printer DC.
0
 
LVL 4

Expert Comment

by:piano_boxer
ID: 1318400
There is a CTreeCtrl derived class on codeguru that has support for printing:

http://www.codeguru.com/treeview/printable_ctreectrl.shtml

-----
Note: Reject prev answer if you fell that this answers your question.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

839 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