Windows Dev Center

CB_SETHORIZONTALEXTENT message

An application sends the CB_SETHORIZONTALEXTENT message to set the width, in pixels, by which a list box can be scrolled horizontally (the scrollable width). If the width of the list box is smaller than this value, the horizontal scroll bar horizontally scrolls items in the list box. If the width of the list box is equal to or greater than this value, the horizontal scroll bar is hidden or, if the combo box has the CBS_DISABLENOSCROLL style, disabled.

Parameters

wParam

Specifies the scrollable width of the list box, in pixels.

lParam

This parameter is not used.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

CB_GETHORIZONTALEXTENT

 

 

Community Additions

ADD
Show:
© 2015 Microsoft