Alpha Blended Windows in Vista



I am using the SetLayeredWindowAttributes function to create a irregular
shaped window using a Bitmap on a form with a transparency color. This
works great but I would like to get rid of the jagged edges that show on the
screen.

Does anyone know of a way to alpha blend the edges of a window with its
background?

A good example of what I am trying to do is the clock gadget in Vista.


Jeff


.



Relevant Pages

  • Re: Alpha Blended Windows in Vista and XP
    ... shaped window using a Bitmap on a form with a transparency color. ... works great but I would like to get rid of the jagged edges that show on the ... Does anyone know of a way to alpha blend the edges of a window with its ... You need to use a Bitmap with an alpha channel. ...
    (microsoft.public.vb.winapi.graphics)
  • Alpha Blended Windows in Vista and XP
    ... shaped window using a Bitmap on a form with a transparency color. ... works great but I would like to get rid of the jagged edges that show on the ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Alpha Blended Windows in Vista and XP
    ... So if my bitmap has alpha channel it will be blended on the screen? ... shaped window using a Bitmap on a form with a transparency color. ... works great but I would like to get rid of the jagged edges that show on ... You need to use a Bitmap with an alpha channel. ...
    (microsoft.public.vb.winapi.graphics)