Solved

Copy to Clipboard

Posted on 1998-07-01
2
297 Views
Last Modified: 2013-11-19
I have written code to plot a graph in the ondraw function and use an OnTimer function to update it. I use the right mouse click to freeze the graph. If the existing graph has to be copied to clipboard, How do I do it? This should be done without highlighting anything on the client space just store the whole client space in clipboard.
0
Comment
Question by:sram
2 Comments
 

Accepted Solution

by:
madhi earned 50 total points
ID: 1318614
Dear sir,
Use OpenClipboard() API fun,Then copy your graph in to the clipboard using the API function SetClipboardData(). Hope it will help you..

0
 

Author Comment

by:sram
ID: 1318615
In what file do you use it, I presume in the view.cpp file. If you do have a sample code please post that too.
 
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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 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