Rendering 32-bit images - alpha is ignored
I loaded a TGA image with alpha channel used (32-bit color) but for some reason, the alpha channel is ignored when displaying the image. The normal colors are correct, but areas fully transparent (cannot be seen) are all black and fully visible (as if alpha was 255) and the semitransparent areas have the colors drawn as is, but with the alpha at 255. I made sure I set up the BITMAPINFOHEADER struct properly (32 for the .biBitCount value for one), but that didn't work at all. Each pixel has it's own alpha value. I took a screenshot of the original image and what is being displayed, if that helps to explain.
See screenshot
The top window shows my program and the way the image is displayed in it. The bottom is what the original looks like. The checkerboard pattern background indicates transparent areas (for those not familiar with the program). The area in focus is the snow-capped peak with the peak on the furthest left (the short mountain). Note the lack of alpha channel usage in my program for that same area.
How do I get it so I get the alpha channel to be used rather than ignored.
Edit: I'm using DrawDibDraw if that helps.