Gadget Transparency


  1. Posts : 7
    Windows 7 HP 64
       #1

    Gadget Transparency


    I'm going with the motto of "the only stupid question is the one you don't ask" and reaching out to people who know more than I do...

    The images attached should serve to illustrate my problem, which is no matter how I attempt the make the background transparent, I get the magenta transparency mask that lies buried in the windows code. I have tried transparent .png files and editing the opacity in the .html code.

    The gadget is called "simple date" and can be downloaded from Microsoft's Gadget website. I've grown to love it but, in cleaning up my desktop, I've realized it would be perfect if it had a transparent background rather than the whole thing being transparent.

    So, my question is... can anyone tell me how to get the result I am looking for?
    Attached Thumbnails Attached Thumbnails Gadget Transparency-image1.jpg   Gadget Transparency-image2.jpg   Gadget Transparency-image3.jpg  
      My Computer


  2. Posts : 7
    Windows 7 HP 64
    Thread Starter
       #2

    Anyone?
      My Computer


  3. Posts : 7
    Windows 7 HP 64
    Thread Starter
       #3

    So, I am guessing the answer is "no, it can't be done"
      My Computer


  4. Posts : 411
    Windows 7 Ultimate SP1 64-bit
       #4

    SeattleMike said:
    So, I am guessing the answer is "no, it can't be done"
    Hey Mike sorry that nobody has gave you a answer. I have tried also to do this but got the same result as you have! I think it can be done, but you need to figure out the coding with in the gadget and I wish I could do it but I don't know how but if I do figure it out I'll let you know!

      My Computer


  5. Posts : 8
    Windows Vista
       #5

    For Windows gadgets, any HTML elements that have any alpha pixels (such as the anti-aliased texts in your case) should only be used on a solid background. If you use them on a transparent background, the alpha pixels will be displayed as the annoying magenta pixels.

    The gadget API provides a way to draw anti-aliased text directly over the desktop with background of any transparency, but you will probably need a lot of works to convert all necessary HTML texts in your gadget to this version.
      My Computer


  6. Posts : 7
    Windows 7 HP 64
    Thread Starter
       #6

    ButzYung said:
    For Windows gadgets, any HTML elements that have any alpha pixels (such as the anti-aliased texts in your case) should only be used on a solid background. If you use them on a transparent background, the alpha pixels will be displayed as the annoying magenta pixels.

    The gadget API provides a way to draw anti-aliased text directly over the desktop with background of any transparency, but you will probably need a lot of works to convert all necessary HTML texts in your gadget to this version.
    Oh I have the time, just not the knowledge to know how to go about it. Can you link this information?
      My Computer


  7. Posts : 8
    Windows Vista
       #7

    SeattleMike said:
    ButzYung said:
    For Windows gadgets, any HTML elements that have any alpha pixels (such as the anti-aliased texts in your case) should only be used on a solid background. If you use them on a transparent background, the alpha pixels will be displayed as the annoying magenta pixels.

    The gadget API provides a way to draw anti-aliased text directly over the desktop with background of any transparency, but you will probably need a lot of works to convert all necessary HTML texts in your gadget to this version.
    Oh I have the time, just not the knowledge to know how to go about it. Can you link this information?
    Gadgets on MSDN
    Gadgets (Windows)

    And this is probably the section you are looking for.
    Developing a Gadget for Windows Sidebar Part 2: The G:BACKGROUND, G:IMAGE, G:TEXT Presentation Elements and GIMAGE Protocol
    Gadgets for Windows Sidebar - Presentation Object Reference

    The parts you need to know are G:IMAGE and G:TEXT.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:03.
Find Us