Visual C++ Developer Center > Using Forums Forums > Off-Topic Posts (Do Not Post Here) > How to do alphablend on Transperent window?
Ask a questionAsk a question
 

QuestionHow to do alphablend on Transperent window?

  • Monday, November 02, 2009 5:56 AMNayan Kurude Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I was trying to do alphablend on a transperenet window. It worked too. But the problem is -
    I am doing alphablend on volume bar image in my application. for volume 0 it worked perfect.
    and then when I incerase the volume previous image should be removed and new image should be pasted.
    But it is pasting image on the old image and not removing the previous image. Because of this after increasing
    the volume till full all the alphablend effects are vanished.
     
    My program works fine if the window is not a transperent window. But for transperent window i cant remove previous image i.e. InvalidateRect is not working in transperent window.

    And one related question is alphablend is not working if the background is a movie. it works perfect if background is picture. Can u solve this prob too i.e. alphablending on video???
    • Moved byNancy ShaoMSFTFriday, November 06, 2009 9:37 AMnot vc quetion (From:Visual C++ Language)
    •  

All Replies