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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

How to print in CTreeView?

CTreeView does not use CView::OnDraw() to show its context,
so how can I print the tree?
0
alanyu
Asked:
alanyu
1 Solution
 
mbhaktaCommented:
Bad news, there is no print facility for Tree or List views. You have to do the hard way. Iterate thru each item and print it seperately thru another view or if you want to use MFC just use printing API's and print the items directly.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now