|
-
July 21st, 2009, 06:50 AM
#1
Getpixel + printwindow help
Ok so what i have been trying to get to work is getting a pixel from a program that is not focussed (so minimized). I tried Getpixel but only got it to work when the window is active(focus). It seems it only works for active window.
Then i thought making a temperaly screenshot of the program and get the pixel.
I came across PrintWindow. Right now im searching to make a temperaly screenshot of a minimized program and read the pixels of it. So far i had no succes. There might be an other solution, any tips are welcome 
It would be greatly appreciated if anyone could help me out.
Cheers!
-
July 21st, 2009, 07:10 AM
#2
Re: Getpixel + printwindow help
Not going to happen, in both cases 
What I mean is, in order for GetPixel to work, it will need an active window to actually get the particular pixel from. PrintScreen, AFAIK, cannot make a copy of a minimized program.
What I'd suggest is to use the bring the minimized window to the top, then get the pixel, then minimize it again.
I hope my comments were useful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|