Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to print a formview with two graphs

I know how to print formview with a single plot on it. But how do I print if the formview has 2 plots?
I go a second question: If my document has many views, how can I arrange and print everything?
0 Kudos
Message 1 of 2
(3,112 Views)
You've stumbled into a very difficult area in MFC programming. Unfortunately, MFC provides very little higher level, easy-to-use functionality for printing. As you have already seen, our controls provide a simple way of pulling off a metafile image of the control that can be sent to a printer or saved. MFC native printing is really designed around "document" printing which is very low level, and not designed for printing of User Interfaces. I would recommend search MSDN and the web for examples in printing MFC FormView screens. I found one example for you here.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(3,112 Views)