Exactly, I thought that was the problem, but I don't know how to fix it. I've already checked to see if the image was loading correctly, but that wasn't the case. The image also has some black in it, so it can't be that.
I have a function which, when called, is supposed to return TRUE if the pixel in the filename specified is black, of FALSE if white. The problem if that the function always returns false. Here's the code.
BOOL returnpixel(char* fileName,int x, int y, HWND hwnd)
{
BOOL returnValue = TRUE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.