An application sends the SBM_ENABLE_ARROWS message to enable or disable one or both arrows of a scroll bar control.
SBM_ENABLE_ARROWS
wParam = (WPARAM) fuArrowFlags; // scroll-bar arrow flags
lParam = 0; // not used; must be zero
Value | Meaning |
---|---|
ESB_DISABLE_BOTH | Disables both arrows on a scroll bar. |
ESB_DISABLE_DOWN | Disables the down arrow on a vertical scroll bar. |
ESB_DISABLE_LTUP | Disables the left arrow on a horizontal scroll bar or the up arrow on a vertical scroll bar. |
ESB_DISABLE_LEFT | Disables the left arrow on a horizontal scroll bar. |
ESB_DISABLE_RTDN | Disables the right arrow on a horizontal scroll bar or the down arrow on a vertical scroll bar. |
ESB_DISABLE_UP | Disables the up arrow on a vertical scroll bar. |
ESB_ENABLE_BOTH | Enables both arrows on a scroll bar. |
If the message succeeds, the return value is TRUE; otherwise, it is FALSE.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later.
Header: Declared in winuser.h.
Scroll Bars Overview, Scroll Bar Messages