I'm busy working on a word processor in Visual C++ 2008 and I need some help with a Print option, and a Page Setup option. What I'm trying to do is print the contents of a RichTextBox control (txtdisplay), and can't find any way to get it to work. Google hasn't helped at all, and I'm a true noob...
Here are the controls I currently have:
txtdisplay (the RichTextBox)
printDocument1 (Printdocument control)
pageSetup1 (Page Setup Dialog)
PrintDialog1 (Print Dialog Box)
So if anyone experienced with Visual C++ 2008 could lend a hand in terms of printing, it would be greatly appreciated.
Thanks in advance.