Solved

Copy to Clipboard

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

696 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