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
Parameters
fuArrowFlags
Specifies whether the scroll bar arrows are enabled or disabled and indicates which arrows are enabled or disabled. This parameter can be one of the following values:
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. |
Return Values
If the message succeeds, the return value is TRUE; otherwise, it is FALSE.