Thread: Transparent Windows

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    Question Transparent Windows

    I want to design a program that will launch a window that is constantly transparent but also above all other windows on the screen.

    I can see how it may be possible to capture the portion of the screen below the window and then merge it with the pixels from the window. However, since this window will always be on top, even when it doesn't have focus, the items underneath could be changing pixels. I have seen some programs, like the one from trillian.cc, do a good job with transparency.

    Does anyone know how I might accomplish this?
    Oh yes, and I use old-style C programming for windows but with a c++ compiler ( visual c++ w/ visual studio.net interface ).
    Last edited by genghis; 01-16-2002 at 04:31 PM.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    nevermind

    oh, Nevermind. I found a function called SetLayeredWindowAttributes that is supposes to set the transparency of the window through the os.

    Only suppose to work for win2k and winxp tho.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone using Windows 7?
    By Sharke in forum General Discussions
    Replies: 60
    Last Post: 07-12-2009, 08:05 AM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM