gman #1 i tried that and it worked beautifully for an image loaded with LoadImage... but when i tried it on an image created with CreateImage it ran without error, but it would not draw the image with the mask for some reason.