WIN API Mouse?
- Posted by Euman <euman at bellsouth.net> May 02, 2001
- 676 views
Hello Win32 API Gurus
I have this function in my program (below) that return the mouse position
inside of the client area of my window and was wondering if there
was a mouse routine that did this automatically.
function GetMousePos(atom hwnd)
atom junk, x, y
c_proc( GetCursorPos, {pt} )
junk = c_func(xScreenToClient,{hwnd,pt})
x = peek4s( pt )
y = peek4s( pt + 4 )
return {x,y}
end function
Thanks
Euman

