GetPixel app
Posted: Sat Mar 09, 2013 5:16 pm
Hey Marco, sorry for ask but can you explain a bit this code of yours?
I mean, why all this api`s Calls? Are they needed?
Thanks
const vbKeyLButton=1``left mouse button
Declare GetPixel as "GetPixel" of "gdi32"
hdc As Long
x As Long
y As Long
result As Long
end declare
declare getdesk as "GetDesktopWindow" of user32
result as integer
end declare
declare getdc as "GetWindowDC" of user32
handle as integer
result as integer
end declare
Declare GetAsyncKeyState as "GetAsyncKeyState" of "user32"
vKey As Long
result As Integer
end declare
I mean, why all this api`s Calls? Are they needed?
Thanks
const vbKeyLButton=1``left mouse button
Declare GetPixel as "GetPixel" of "gdi32"
hdc As Long
x As Long
y As Long
result As Long
end declare
declare getdesk as "GetDesktopWindow" of user32
result as integer
end declare
declare getdc as "GetWindowDC" of user32
handle as integer
result as integer
end declare
Declare GetAsyncKeyState as "GetAsyncKeyState" of "user32"
vKey As Long
result As Integer
end declare