Sign in to follow this  
_Madman_

Application forwarding/backwarding

Recommended Posts

_Madman_    100
Hi! I have an idea for an application and I was wondering if it's possible to make it happen. What I want is to embed an existing application inside full-screen OpenGL application. I don't want to recreate all the logic of the regular win32 app, so, I just want to render it to a texture and forward mouse and keyboard clicks to it. Forwarding clicks is probably easy (windows messaging + screen coordinate fixups), but I don't know if I can render the actual app to an image which I could use to display it inside OpenGL window. I know Windows 7 and probably Vista does render app thumbnails, but I have no idea how. I've heard that OLE allows some sort of embedding, but again, I have no idea if that'll work inside OpenGL screen. Has anyone heard of something of that sort? Any ideas which keywords I should try on Google search? EDIT: Something like that exists http://www.howtogeek.com/howto/windows/get-vista-taskbar-thumbnail-previews-in-windows-xp/ no idea about how it's implemented though. [Edited by - _Madman_ on November 10, 2009 9:27:58 PM]

Share this post


Link to post
Share on other sites
f8k8    171
I know you asked about OpenGL, but this shows a way to do it for D3D applications. It might provide a starting point:
http://www.gamedev.net/community/forums/topic.asp?topic_id=359794

And this might be a starting point for OpenGL:
http://www.mirc-scripts.de/pn/html/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=1

(I haven't really looked at these, but they seem like they might help :) )

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this