Jefferds44 Posted June 25, 2009 Posted June 25, 2009 Hi guys, Can someone please explain to me how the PixelGetColor function works in relation to the pixel location? What I want to do is get the color of a pixel within a given window. I want to specify relative coordinates to the window. Not absolute because the window moves around. Can I use the windows hWnd with the PixelGetColor function in some way? Thanks, Jeff
AdmiralAlkex Posted June 25, 2009 Posted June 25, 2009 You need to set: Opt("PixelCoordMode", 0) See Opt() or AutoItSetOption() in the helpfile for details. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
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