I have loaded a 256 color bitmap in an object of CBitmap class, I need to access that bitmap as a two dimensional array. (using for example name[][] subscript). Can anyone please suggest a function or class that would allow me to do that. Secondly would it be possible for me to check the color of each pixel in that array?

Any help would be appreciated.