Transparent Window


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.

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.

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.

Maybe you should use SetWindowRgn. Make from your background image a region based on your transparent color.