CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    7

    Transparent Form Background

    Is there a way to make the background of a form transparent? I have a picture on the form and that is all I want shown. I could even settle with some sort of wrapping around the picture. Anyone know? Thanks -Mike

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332

    Re: Transparent Form Background

    You can find many examples of this on PlanetSourceCode.com, though there's likely been discussions of it here as well.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  3. #3
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Transparent Form Background

    You can't make a portion of the form transparent, so you will have to change the shape of the form to fit the shape of the image. This can be done throught hte use of some API functions.

    This piece of code I once wrote and submitted to PSC explains how you can do such things: http://www.planetsourcecode.com/vb/s...22627&lngWId=1
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured