I know you guys are probably sick to death of topics about really easy things like. I just started graphical work a few days ago, and the first thing I seemed to needed to understand was the API bitblt. I'll try to make it quick and painless for you.
I've only been able to retrieve an image (the source) and place it into the destination image. I'm really worried about how to use the last parameter, 'dwRop'. Say the source image is a bitmap man with a black background, and the destination image is just a plain green background. How do you merge the two images to have the man standing with the green background filled around him? Tutorials tell me to use 'SRCCOPY' (and define it as a constant) but that does not seem to get rid of the black. Some examples I have downloaded use two bitblt calls, one with SRCAND and the one with SRCPAINT, also using a different image for each, the only difference being the source's background (one white, one black). I can't seem to work it to make the source's background transparent. Any help?