Solved

Copy to Clipboard

Posted on 1998-07-01
2
285 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 90
bigDiff challenge 17 106
Use of condition with 'serial' in ansible 2 59
Trying to run powershell  in a batch file. How do I do this? 8 90
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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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