65535 is the hex-value &HFFFF.
It's to create a DWORD of the LOWORD and HIWORD-values.
Finally I'm using this code:Code:lParam = (y * &H10000) Or (x And &HFFFF&)
|
Results 1 to 8 of 8
Thread: xy-coordinates to lParamThreaded View
|
Click Here to Expand Forum to Full Width |