Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

LB_GETHORIZONTALEXTENT message

Gets the width, in pixels, that a list box can be scrolled horizontally (the scrollable width) if the list box has a horizontal scroll bar.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is the scrollable width, in pixels, of the list box.

Remarks

To respond to the LB_GETHORIZONTALEXTENT message, the list box must have been defined with the WS_HSCROLL style.

If the application does not set the horizontal extent of the list box (using LB_SETHORIZONTALEXTENT), the default horizontal extent is zero. Note that the list box does not update its horizontal extent dynamically.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

LB_SETHORIZONTALEXTENT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.