Solved

VC++: printing a dialog box

Posted on 1998-08-04
3
303 Views
Last Modified: 2012-08-14
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
Comment
Question by:stef3
  • 2
3 Comments
 

Author Comment

by:stef3
ID: 1169383
Edited text of question
0
 
LVL 1

Accepted Solution

by:
alex_r earned 100 total points
ID: 1169384
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
 

Author Comment

by:stef3
ID: 1169385
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question