Re: Alpha Blended Windows in Vista and XP



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?

You need to use a Bitmap with an alpha channel.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.



Relevant Pages

  • 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)
  • 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)
  • Alpha Blended Windows in Vista
    ... 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)