Mouse Messages (cont.)
Coordinates stored in
lParam
x = LOWORD(lParam)
y = HIWORD(lParam)
State of mouse buttons stored in
wParam
MK_LBUTTON
MK_MBUTTON
MK_RBUTTON
MK_SHIFT
MK_CONTROL