This is a combination of messages sent through WindowProc (). Messages: WM_LBUTTONDOWN, WM_LBUTTONDBLCLK, WM_LBUTTONUP for the left mouse button, WM_MBUTTONDOWN, etc. For the middle button, WM_RBUTTONDOWN, etc. For the right mouse button. See the Windows SDK on MSDN for more information .
source
share