Printing values in editbox using VC++
C / C++ / MFC
4
Posts
2
Posters
0
Views
1
Watching
-
I have dialog based application where I have a testbox / list box and I want to print the values entered in these controls. Pls let me know how to print the data as formated output.
SNI
-
-
thanks for ur reply. I would like to know whether if I have a label / edit box on my dialog box how can I print the value. do I need to take HDC of my dialog and then print.
SNI
SNI wrote:
do I need to take HDC of my dialog and then print.
I think you need to read the documentation in the link I gave you earlier. You will need to create a Printer device context and then display your data on that. It is not quite as simple as saying 'print' and expecting the dialog to magically appear on the printer.
MVP 2010 - are they mad?