Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VC++: printing a dialog box

Posted on 1998-08-04
3
Medium Priority
?
309 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 300 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

721 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