lResult = SendMessage( // returns LRESULT in lResult
(HWND) hWndControl, //
handle to destination control
(UINT) LB_SETHORIZONTALEXTENT, // message ID
(WPARAM) wParam, // = (WPARAM) () wParam;
(LPARAM) lParam // = (LPARAM) () lParam; );
Parameters:
wParam
Specifies the number of pixels by which the list box can be scrolled.
Microsoft® Windows® 95/Windows 98/Windows Millennium Edition (Windows Me) : The wParam parameter is limited to 16-bit values.
lParam
This parameter is not used.
Return Value
An application sends an
LB_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.
Minimum operating systems: Windows 95, Windows NT 3.1