Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

VC6 CEditView and Print Preview Questions

I've got 2 questions that I would greatly appreciate some help on, as it
relates to a MDI app that I wrote using VC6.

1. I've got an edit view in the app which displays a report, and I've added
the option of letting the user select which font to display the report in.
Unfortunately, the print preview does not reflect any of the font changes,
not even if I hard code a font change in initially, the font
remains the same in Print Preview. I'm using SetFont to set the font. I'm
calling CEditView::OnPrintPreview to generate the print preview. Any ideas
how to fix this?

2. I'm trying to add a header and a footer to each page of the report. Is
there any way to retrieve the information from the edit view in terms of the
pages, or
is there another way to accomplish the headers and footers easily?

Once again, thanks for any help you can give me.

Nick
0 Kudos
Message 1 of 3
(3,396 Views)
Hello Nick,

Are there specific questions you have regarding use of NI Measurement Studio components? They're usually prefixed with CNi*...

If your questions are specifically related to the CEditView, you will probably have better luck on the Microsoft discussion forums.

David Mc.
NI Applications Engineer
0 Kudos
Message 2 of 3
(3,396 Views)
I apologize, the link in my previous posting was incorrect, the Microsoft discussion forums are here.

David Mc.
NI Applications Engineer
0 Kudos
Message 3 of 3
(3,396 Views)