Retrieving an individual pixel color from a bitmap.
I am working with an application in which the bitmaps need to be drawn transparently (one color is not drawn) so that they will match whatever background they are on. I have the transparency functionality working and now would like to modify it to select one of the corner pixels to be the color that is removed. Currently I am hard coding the value of the color I don't want drawn. I am looking for a method of retrieving a pixel color from a bitmap given a handle to the bitmap.