>
> p.Mask.Graphics.DrawPicture UKIcon128M, 0, 0
>
> And leave out the .Transparent line entirely.
Well that is interesting, thanks Joe. Now I need a place to read up
on pictures with masks - its been a while since I messed with these.
What I was doing is I made a Canvas for a simple utility app and I
want to display the picture I use for the app icon in the canvas. the
picture and mask work together and display as expected as the app
icon, but not in the canvas - it used to when I did it the wrong way
posted before, but not now. What am I missing?
UKIcon128 is the picture
UKIcon128M is the mask
both loaded into the project.
Then I have this in the open event of the canvas:
UKIcon128.Mask.Graphics.DrawPicture UKIcon128M,0,0
Me.Image = UKIcon128
this does seem to draw some masking, but not like the icon - its not
"clean", it has some odd sort of edges.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|