I developed my own Report Control, which is just nothing but drawing text on a CDC client DC controller. I also have a print function. The report output is sent directly to the printer. However, I want to inform the user of the exit information before the report is printed.
I cannot do this using the MFC preview architecture, since my project does not use the doc / view architecture. Is it possible to create a print preview window? How does the MFC handle this? Do I need to do any special processing or keep in mind when displaying output on the printer screen? I read that MFC used 2 DCs for preview purposes. Do I need to do this if Im goin for a custom preview?
Your input is much appreciated! TIA.
PS I am using Visual Studio 6, and there is no way to change this to a newer version, since there is no way to add doc / view support.
source
share