If I need to pass an integer it's pretty straightforward:
User32.INSTANCE.PostMessage(hwnd, WM_MOUSEMOVE, new W32API.WPARAM(), new W32API.LPARAM(x | y << 16))
but how do I get WPARAM out of W32API.HDC for example?
If I need to pass an integer it's pretty straightforward:
User32.INSTANCE.PostMessage(hwnd, WM_MOUSEMOVE, new W32API.WPARAM(), new W32API.LPARAM(x | y << 16))
but how do I get WPARAM out of W32API.HDC for example?