Mason Posted February 13, 2006 Share Posted February 13, 2006 I have been searching around google, and most of the things I have found on the subject are about collision detection for game programming. I am attempting to do in C++ what AutoIt's PixelFind function does. I have found nothing to get me started though. Preferably I want to do it somewhat low level, without having to use the windows API or a graphics library like DirectX, BUT if it is necesarry I will. Thanks for any input on functions or articles or information you can give me. Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 13, 2006 Share Posted February 13, 2006 Are you wanting to read the entire screen or a single window? No, DirectX is not necessary. You will have to use a few Windows APIs. Do you know how to work with memory bitmaps? Heres an article for getting a bitmap of the screen.http://msdn.microsoft.com/library/default....itmaps_5a5h.asp Link to comment Share on other sites More sharing options...
Fayat Posted February 24, 2006 Share Posted February 24, 2006 I use pixel search in a dev: GetPixel() function just return you RGB color code. Good luck Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 5, 2006 Share Posted March 5, 2006 GetPixel()? What needs to be imported? What needs to be linked? Is it a class member function? You aren't specific at all there. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now