How can I print in dialog based?
-
Hello everybody, I have this question from the stone age no one answers me the only answer i`ve got use SD but i need dialog based program so any answer far away from SD thank you and have a nice day .
Printing is really too lengthy a subject to discuss here. Instead, I refer you to Charles Petzold's Programming Windows, Fifth Edition from Microsoft Press. You can still use the MFC helper classes such as
CPrintDialog
andCDC
. -
Hello everybody, I have this question from the stone age no one answers me the only answer i`ve got use SD but i need dialog based program so any answer far away from SD thank you and have a nice day .
Check out this code project article http://www.codeproject.com/printing/printextension.asp?target=print%7Cdialog which tells you most of things that you will need to know.
-
Hello everybody, I have this question from the stone age no one answers me the only answer i`ve got use SD but i need dialog based program so any answer far away from SD thank you and have a nice day .
Hey, I'll answer you cause I had the same problem about a year ago. I don't really know much about printing though, just gonna tell you what I did. First off, I'd suggest you go to the Printing section on this website, there are plenty of articles on it, might have just what you need. Other than that it really depends on what you want to print that's in the dialog. For instance I wanted to be able to print out the contents of a list box, which I was able to find a suitable printing class on this site. I'll go ahead and say that printing from any type of control can be done using a class similar to the one I had. If you're trying to print from something other than a control, can't help you much there. Mike