First of all, let me thank you for looking and responding to my questions.

I have a program that will draw an area on the screen changing the background pixels to blue. I want to know how many pixels have been changed to blue so I can calculate the area of my drawing.

Example: I draw a filled box on the screen with my draw tool. All of the pixels in the box turn blue (or whatever color I chose). Now, I need to know how many pixels I just colored blue. I need an API call that tells me how many pixels I just turned blue so I can calculate the area of the box I just drew.

I hope that makes sense. and again, thanks for your help.

clnt