Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

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
0
stef3
Asked:
stef3
  • 2
1 Solution
 
stef3Author Commented:
Edited text of question
0
 
alex_rCommented:
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:
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now