CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    42

    Image transperency

    Hi all,

    I hope someone can help me with this.

    I have made transperent gif images using photoshop hoping that when i use them in windows forms picturebox the background won't be visible but they blend with the different backgrounds but still there is a rectangular background around the picture with the same color of the picturebox background. why is this happenning?Is there a way we can solve this?

    And when i overlap two images i want them to be seem through so that the picture beneath should be visible.

    Thank you all
    Sai

  2. #2
    Join Date
    Oct 2005
    Posts
    166

    Re: Image transperency

    I think you have to write the code yourself instead using a picture box, or a simple solution is to fill the transparent parts with the color of dialog, but if another user uses a different Windows theme or different colors there's a problem. Anyway I do not remember actually if the picture box have the transparent option...

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