There are two messages in the scroll-bar group: WM_HSCROLL and WM_VSCROLL. Scroll-bar controls send these messages to their parent windows whenever the user clicks in the control. The wParam parameter contains the same values as those defined for the scrolling messages of a standard window. The high-order word of the lParam parameter contains the window handle of the scroll-bar control.