You don't need dwExtraInfo (driver information)
WPARAM is sufficient to know which button is down (WM_LBUTTONDOWN,
WM_RBUTTONDOWN, WM_MBUTTONDOWN,..)
That does not seem to be correct.
MouseProc has three parameters:
nCode: Hook procedure code
wParam: Mouse message identifier
lParam: Pointer to MOUSEHOOKSTRUCT
The MOUSEHOOKSTRUCT contains:
pt: POINT struct containing cursor position
hwnd: hwnd of window that will receive the msg
wHitTestCode: hit-test value
dwExtraInfo: "extra information"
Therefore, since the key-state (i.e., whether the control
or shift key, etc., is pressed) is no where to be found, I
was wondering if the dwExtraInfo member might contain
it or point to it, or in general how one would obtain that
information.
Use GetKeyState() to get key state.
--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
An old friend of mine once quoted me an ancient Egyptian blessing:
'God be between you and harm in all the empty places where you must
walk.' -- Sheridan in Babylon 5:"A Distant Star"