Read out-of-window pixel

Blitz3D Forums/Blitz3D Beginners Area/Read out-of-window pixel

AJ00200(Posted 2009) [#1]
Is there a way to read the rgb values of out-of-window pixels?


GfK(Posted 2009) [#2]
There aren't any "out of window" pixels.

What are you trying to do?


AJ00200(Posted 2009) [#3]
Pixels out of the Program Window if its not full-screen.
EG: (Excuse the ascii art)
-------------------------
| xxxxxxxxxxxxxxxxxxxxxx|
| x |Blitz Window|xxxxx|
| x |000000000000|xxxxx|
| x _____________|xxxxxx|
| xxxxxxxxxxxxxxxxxxxxxx|
------------------------
^<Your Screen

X=out of window Pixel


Warner(Posted 2009) [#4]
There is a windows api called getpixel. An example can be found here:
http://www.blitzbasic.com/codearcs/codearcs.php?code=628


AJ00200(Posted 2009) [#5]
Thanks Alot