How do i print the information which is entered in Edit Boxes Using MFC?
Thanks
Printable View
How do i print the information which is entered in Edit Boxes Using MFC?
Thanks
This is not a question that can be answered in a few lines.
Do a search here for info and try MSDN.
If you have specific problems please ask again.
Look into EnumPrinters(), HDC's, Common Dialogs (printer/print) ect
>>This is not a question that can be answered in a few lines.
Got that right! Man, I wish that there was a 'PrintOnePage(hwnd_edit);' function or something...
Printing a page is just like using GDI to output text, lines, etc but with the chance of runing out of room on the page, running out of sheets of paper to pring on and a whole lot more of nasties :P
Advice: buy a good programming book
Even better advice: buy several good programming books
Alternative advice: Borrow a good programming book from the library
Even better alternative advice: Borrow several good programming books from the library
A simple way is to use commas ',' to seperate the strings from the edits and write to a text file.
Use the extension .csv and then use Excel to print it.