Results 1 to 4 of 4

Thread: How to make a Frame Transparent in Windows

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    76

    Lightbulb How to make a Frame Transparent in Windows

    I want to make a frame transparent, but not my forms only but of the whole system, for eg when I click on enable all frame and caption area must change to transparent

    Is it possible in VB.NET?
    < advertising link removed by moderator >

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: How to make a Frame Transparent in Windows

    you want to make every single visible window on the desktop transparent? Is that what you are asking?

  3. #3
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Re: How to make a Frame Transparent in Windows

    it is possible, at least in win 7. but i don't know how

  4. #4
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: How to make a Frame Transparent in Windows

    Here is a hint:
    1. You'll need EnumWindows or GetWindow API to find all top-level windows.
    2. Get style of those windows by using GetWindowLong API.
    3. Set those windows transparent by using SetLayeredWindowAttributes API.

    This will work on Win 2000 or higher.
    Sorry, I don't have time to write code example. You can google them and you'll find examples.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

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



Click Here to Expand Forum to Full Width