2 messages in net.java.dev.jna.users[jna-users] Win32 Low-Level Mouse Hoo...
FromSent OnAttachments
Alan SnyderFeb 6, 2009 3:52 pm 
Timothy WallFeb 6, 2009 4:22 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] Win32 Low-Level Mouse Hook definitions.Actions...
From:Alan Snyder (ala@tidebreaksys.com)
Date:Feb 6, 2009 3:52:58 pm
List:net.java.dev.jna.users

I'm currently working on creating a low-level mouse hook for win32 similar to the keyboard hook in the examples jar file. I've created a MSLLHOOKSTRUCT for the callback but don't see the integer values for things like: WM_LBUTTONDOWN WM_LBUTTONUP WM_MBUTTONDOWN WM_MBUTTONUP WM_RBUTTONDOWN WM_RBUTTONUP WM_MOUSEWHEEL

these are the analogs for things defined in User32.java like:

int WM_KEYDOWN = 256; int WM_KEYUP = 257;

I'd like to be able to do

int WM_LBUTTONDOWN = xx;

Would anyone know how/where to find those values?

Thanks, Alan