CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2002
    Posts
    60

    How to show transparent gif in dialog (formview) ?

    Hi,
    I want to use transparent .gif in my formview.
    I've seen a lot of info of loading such images at run-time.
    I would rather use it as a resource.

    Any ideas, gurus?

  2. #2
    Join Date
    Feb 2002
    Posts
    60
    Hi,
    I can hardly assume that if no one answer, this cannot be done.

    I've searched Codeguru and the only tip I found is to insert ActiveX Control of type "Microsoft Picture Clip control" - the problem is that my transparent gif appears but not transparent.

    Am I missing something?
    Is there other way?

  3. #3
    Join Date
    May 1999
    Location
    Southern California
    Posts
    12,266
    I am not surprised that GIF is not as easy to work with as is a BMP format. The Windows SDK does not support GIF. I think GIF is a format proprietary to Compuserve; at least it was originally, before the internet, but back when Windows was developing. So the problem probably is that you expect GIF to be supported more by Windows than it is. There probably is a way to do what you are trying to do using the ActiveX Control but perhaps the reason you are not getting answers here is that there is not anyone here that knows how to do it. If you don't get an answer in 24 hours then try posting a new question with a subject inicating this is a question about the ActiveX Control.
    "Signature":
    My web site is Simple Samples.
    C# Corner Editor

  4. #4
    Join Date
    Feb 2002
    Posts
    60
    Hi,
    After a lot of searching I found a class that do the work.
    Look at:
    http://www.codeproject.com/bitmap/pi...p?target=yovav

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