Dim lParam as Long = MAKELONG(x, y)
Public Shared Function MAKELONG(ByVal low As Integer, ByVal high As Integer)
As Long
Return (low And &HFFFF) Or ((high And &HFFFF) << 16)
End Function
--
Colin Neller
http://www.colinneller.com/blog
"Nick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi there,
>
> I'm trying to emulate mouse clicks using WM_LBUTTONDOWN, and
> WM_LBUTTONUP respectively. I can't quite remember how I am to create the
> lParam from the x and y coordinates, any imput on this would be greatly
> appreciated...
>
> --
> Nick Pateman
>
> ---------------------------------------------------------------
> Please do not reply directly to me, but the entire newsgroup.
> Any views expressed above are my own
> Without predjudice
>