Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Other JSE/JEE APIs
JNA: passing arguments as wParam/lParam
posted 6 years ago
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 WM_PRINT's wParam is "A handle to the device context to draw in" which will be W32API.HDC and I have no idea how to pass it to PostMessage :(
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
help with passing context
SWT and SetWindowsHookEx (advanced question)
Reading a file written by c++, or is there any other way?
Print Dialog JRE1.3.1_06