Thread: Transparency

  1. #1
    dizolve
    Guest

    Transparency

    Does anyone know how I would make a window transparent? I'm not talking about a window I make, I mean a window of any given program. I'm aware that this can really only be done in 2K/XP, so I need to know how to do it there and if I'm wrong and it is possible in 98/ME/etc., please let me know. Thanks. ;)

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    If you get a pointer to the window (FindWindow() ext....) you might be able to do this as per the normal methods

  3. #3
    tyouk
    Guest
    Hey. I created a transparent window a while ago, it was done through DirectX programming. I simply initialized DX, then set the window to take FULL use of the screen. Now I forget exactly how I did it, but I used Sunlight's DirectX tutorial to figure this out. I simply changed background colours or something. (Values go from -15 to 15 for this one structure or something and its one of these values that gets your a transparent window.)

    I was running Windows ME at the time.

    Thats the only way I know of so far.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by tyouk

    Thats the only way I know of so far.

    If you are targetting a decent version of windows (2K,XP - NOT 98/95/ME) then you can follow the method here

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 06-17-2008, 04:00 PM
  2. Transparency thing
    By Gordon in forum Windows Programming
    Replies: 2
    Last Post: 04-23-2008, 10:34 AM
  3. Nonclient & client area transparency
    By TheDan in forum Windows Programming
    Replies: 0
    Last Post: 03-27-2007, 02:19 PM
  4. How do you print on a transparency ?
    By Zeeshan in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 02-25-2003, 02:29 PM
  5. GIF Transparency
    By dbaryl in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 04-20-2002, 05:46 PM