I tried some more stuff and it still didnt do anything.... heres the code i came up with.
Code:for (int x=0;x<1152;x++) { for(int y=0;y<864;y++) { Find = GetPixel( hdc, x, y ); // sets the color variable to the cursor position. if (Find == 16777215) { cout<<"Found it"; Sleep(5000); } } }