Bitmap.GetHBitmap() produces a HBitmap with a blue background, why?

Aug 24 2007 3:41 AM
Hello all,

I'm struggling with something and don't know why this is occurring. If I create an HBitmap from a pre-existing Bitmap, the background to the HBitmap has a bluish tint in it. I tried setting the background of the HBitmap in GetHBitmap(Color.BackgroundColor) to white but still no effect. If I change the Background Color to black the HBitmap has a black background, but if I change it to any other color it goes back to blue?

All I would like to do is have the background a transparent color for the HBitmap.

Any help will be vastly appreciated.

Thanks guys

Regards,
Nathanael