SBM_ENABLE_ARROWS message

An application sends the SBM_ENABLE_ARROWS message to enable or disable one or both arrows of a scroll bar control.

Parameters

wParam

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.

ValueMeaning
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.

 

lParam

This parameter is not used.

Return value

If the message succeeds, the return value is TRUE; otherwise, it is FALSE.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft