Temporarily I am using
But since docs state for WM_MOUSEMOVE
My compiler says MakePoints is undefined unless I use the macro above. So I have to ask if this is an oversight in the Win32Api.Inc file???? or am I missing an Inc that already has this macro??/
Code:
MACRO MAKEPOINTS(lParam, pt) pt.x = BITS%(LOWRD(lParam)) pt.y = BITS%(HIWRD(lParam)) END MACRO
Remarks
The MAKEPOINTS macro can be used to convert the lParam parameter to a POINTS structure.
The MAKEPOINTS macro can be used to convert the lParam parameter to a POINTS structure.
Comment