Is it possible to use JOGL/Java to draw on the desktop (behind the desktop icons where the background is).
Like winAMPs AVS is able to if setup correctly.
Is it possible to use JOGL/Java to draw on the desktop (behind the desktop icons where the background is).
Like winAMPs AVS is able to if setup correctly.
(specifically in windows)
The win32 api contains a call “getDesktopDC” which returns a handle to the DC (device context) used by the desktop, and you can use it for binding e.g. DirectX or OpenGL canvas objects to it, we did this with DirectX some time ago.
However, with Java, you would have to write a JNI binding for getDesktopDC to be accessible, I’m not familiar with JNI … anybody else, help? And then, JOGL hides the process of OpenGL context creation by binding to a java frame … hm, I wonder if you can create a java frame from a windows device context? I guess this will be the core problem, or you talk the JOGL crew into inserting a frameless mode based on an os specific handle.
Sorry no solution, just some toughts here, never the less hth
Wolfgang