Solved

VC++: printing a dialog box

Posted on 1998-08-04
3
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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…

710 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