Solved

Copy to Clipboard

Posted on 1998-07-01
2
266 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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now