EN_HSCROLL notification code
Sent when the user clicks an edit control's horizontal scroll bar. The parent window of the edit control receives this notification code through a WM_COMMAND message. The parent window is notified before the screen is updated.
EN_HSCROLL
WPARAM wParam;
LPARAM lParam;
Parameters
-
wParam
-
The LOWORD contains the identifier of the edit control. The HIWORD specifies the notification code.
-
lParam
-
A handle to the edit control.
Remarks
This notification code is sent for the following mouse events on the horizontal scroll bar: clicking either arrow button or clicking between the arrow button and the thumb. However, the notification code is not sent when clicking the scroll bar thumb itself. The notification code is also sent when a keyboard event causes a change in the view area of the edit control, for example, pressing HOME, END, LEFT ARROW, or RIGHT ARROW.
Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. To receive EN_HSCROLL notification codes, specify ENM_SCROLL in the mask sent with the EM_SETEVENTMASK message. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
-
Reference
-
Other Resources