PDA

View Full Version : Transparent Window



Ryo
09-10-2003, 03:26 PM
Hi,

I have an ActiveX control using OpenGL.
I am using that control in my C# windows application.
Everything works OK, but when I turn the transparency "on", I get the blue screen.
Is there any solution?

My Notebook has GeForceGo440 graphic card and OS is WindowxXP.

Sourpotato
09-10-2003, 08:35 PM
I have to say there is no solution to make transparent window for the entire OpenGL scene. The average transparente window are made through GDI while
OpenGL use different hardware of graphics card to render the scene.

Ryo
09-10-2003, 09:19 PM
What I am trying to do is to use an image as the form's background and set the transparent key, so that I can get a cool looking application.

I do not want any part of OpenGL drawn area to be transparent.

dawn
09-12-2003, 04:36 AM
Maybe you should use SetWindowRgn. Make from your background image a region based on your transparent color.