Solved

OWL/OpenGL cut/paste

Posted on 1997-03-07
1
277 Views
Last Modified: 2008-02-07
Using OpenGL, in an OWL environment, how can one paint OpenGL images to the clipboard to allow cutting and pasting?  At the same time, I need to be able to paint to the screen as normal.
Images painted to the clipboard would then be pasted into Powerpoint or Word as bitmaps or some form of picture.

Thanks,
Brian
0
Comment
Question by:brigling
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1161987
Windows doesn't offer a OpenGL-specific clipboard format, and OpenGL doesn't provide for image copying directly.  You'll need to grab a bitmap of the window that you're using to display the object and then paste that to the clipboard using CF_DIB or CF_BITMAP.

If you have control over both the program that's providing the image and the programs that will consume it from the clipboard, you could register your own custom format and hook up your own re-rendering mechanism.

.B ekiM
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

810 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