VC++: printing a dialog box

Do you know how to print a dialog box created in Visual C++ exactly as  it appears on the screen during the running?
Thanks
Stephane
stef3Asked:
Who is Participating?
 
alex_rConnect With a Mentor Commented:
1. Open the dialog box. Make it active. Press Alt-PrintScreen. Now the image of the dialog box is placed in the clipboard.

2. Open Paintbrush: Use Edit | Paste. Now you can print the image.
0
 
stef3Author Commented:
Edited text of question
0
 
stef3Author Commented:
Thanks a lot alex_r for being so quick. It works fine. Experts-exchange is really great. Actually now I need to make this task automatic: I want to add a button in the dialog box that would trigger the printing (so that the user would have nothing else to do than pushing this button to get the dialog box with all the data inside printed). Thanks a lot. I am truely very grateful to you.
Stephane
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.