Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Transparent Window

  1. #1
    Intern Newbie
    Join Date
    Jun 2001
    Location
    Shizuoka, Japan
    Posts
    30

    Transparent Window

    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.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Nanjing,China
    Posts
    118

    Re: Transparent Window

    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.

  3. #3
    Intern Newbie
    Join Date
    Jun 2001
    Location
    Shizuoka, Japan
    Posts
    30

    Re: Transparent Window

    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.

  4. #4
    Intern Contributor
    Join Date
    Mar 2001
    Location
    Romania
    Posts
    50

    Re: Transparent Window

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •