SBM_ENABLE_ARROWS

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.

QuickInfo

  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.

See Also

Scroll Bars Overview, Scroll Bar Messages