lupine
05-01-2002, 02:40 AM
Note: GetDesktop() should be GetDesktopWindow() - Damn my faulty memory! http://www.opengl.org/discussion_boards/ubb/smile.gif
Hi all - I'm not sure if this post should be in the Beginner or Advanced(beginner coder, advanced topic (: ) forum, but a while back I was doing some research on the idea of using the desktop as an OpenGL window. After some fiddling, I managed to get it working in 9x - the trick being that you have to run the program while the desktop is still uncaptured by an application(ie. the program needs to be shell-status (system.ini, shell=<prog.exe> ). Anyway, I've decided - eventually - to take it a bit further; not sure how much further yet http://www.opengl.org/discussion_boards/ubb/smile.gif. Perhaps just a new shell(probably), perhaps a new windowing system in OGL for Windows (CreateOGLWindow()) http://www.opengl.org/discussion_boards/ubb/smile.gif. But, since the 9x architecture is - according to Micro$oft$haft - obsolete these days, and is now promoting the NT+ line, ME, 2K, etc, etc, so on and so forth - all of which I have a severe phobia to http://www.opengl.org/discussion_boards/ubb/smile.gif - I was wondering if anyone could try creating the desktop as an OGL DC for me, and tell me how it works... if you like, I can email you the program/code I've been using to test the concept on my 9x system. Ask on here, or email me (lupine_NickT@hotmail.com), & I'll send it. If not, then all you need to do is, basically, what I wrote in the subject line http://www.opengl.org/discussion_boards/ubb/smile.gif. Use the Desktop's HWND to get the DC, and run the program as shell. In the NT arch., *that* setting's probably buried in the 50Mb registry, somewhere. So... anyone?
(upd. email addy, GetDesktopWindow())
[This message has been edited by lupine (edited 05-01-2002).]
Hi all - I'm not sure if this post should be in the Beginner or Advanced(beginner coder, advanced topic (: ) forum, but a while back I was doing some research on the idea of using the desktop as an OpenGL window. After some fiddling, I managed to get it working in 9x - the trick being that you have to run the program while the desktop is still uncaptured by an application(ie. the program needs to be shell-status (system.ini, shell=<prog.exe> ). Anyway, I've decided - eventually - to take it a bit further; not sure how much further yet http://www.opengl.org/discussion_boards/ubb/smile.gif. Perhaps just a new shell(probably), perhaps a new windowing system in OGL for Windows (CreateOGLWindow()) http://www.opengl.org/discussion_boards/ubb/smile.gif. But, since the 9x architecture is - according to Micro$oft$haft - obsolete these days, and is now promoting the NT+ line, ME, 2K, etc, etc, so on and so forth - all of which I have a severe phobia to http://www.opengl.org/discussion_boards/ubb/smile.gif - I was wondering if anyone could try creating the desktop as an OGL DC for me, and tell me how it works... if you like, I can email you the program/code I've been using to test the concept on my 9x system. Ask on here, or email me (lupine_NickT@hotmail.com), & I'll send it. If not, then all you need to do is, basically, what I wrote in the subject line http://www.opengl.org/discussion_boards/ubb/smile.gif. Use the Desktop's HWND to get the DC, and run the program as shell. In the NT arch., *that* setting's probably buried in the 50Mb registry, somewhere. So... anyone?
(upd. email addy, GetDesktopWindow())
[This message has been edited by lupine (edited 05-01-2002).]