2 messages in net.java.dev.jna.usersRe: [jna-users] Win32 Low-Level Mouse...
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:Re: [jna-users] Win32 Low-Level Mouse Hook definitions.Actions...
From:Timothy Wall (twal@dev.java.net)
Date:Feb 6, 2009 4:22:50 pm
List:net.java.dev.jna.users

If you don't have MSVC installed, you can install cygwin/mingw gcc, which has w32api headers you can grep for the appropriate values.

On Feb 6, 2009, at 6:53 PM, Alan Snyder wrote:

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?