Jump to content

Finding a Pixel in a background window


Gemba
 Share

Recommended Posts

So I've tried searching and I've found a few things, but none of them seem to work

When I use the library, it doesn't screenshot the window but rather the whole screen (I supplied the handle).

When I used a MemoryReadPixel function it always returned 00FFFFFF

So basically I want to read a pixel from a background window, and PixelGetColor doesn't seem to work.

Link to comment
Share on other sites

These might work...

_PixelGetColor_CaptureRegion()

_PixelGetColor_GetPixelRaw()

Basically you can use them to search the window you want to search by briefly bringing it to the foreground to capture it to memory then search it in memory. I'll add links in a second when I can find them.

Edit: Add link...

Edited by MrMitchell
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...