Hello, I am drawing an icon to the screen with:
pe.Graphics.DrawIcon(My.Resources.MyIcon, x, y)
I was wondering if there was a way to adjust the alpha of the icon to a desired number before drawing, like the following imaginary code that fades it in:
for n as integer = 1 to 255
dim alpha_icon as new icon(My.Resources.MyIcon)
pe.Graphics.DrawIcon(alpha_icon, x, y)
I have seen ways to do this with image resources, haven't been able to find an equivalent for icons.
Thanks for any help.