Share via


LB_GETHORIZONTALEXTENT (Compact 2013)

3/28/2014

This message is sent by an application to retrieve from a list box the width, in pixels, by which the list box can be scrolled horizontally - the scrollable width - if the list box has a horizontal scroll bar.

Syntax

LB_GETHORIZONTALEXTENT wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

The scrollable width, in pixels, of the list box indicates success.

Remarks

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

Requirements

Header

winuser.h

See Also

Reference

List Box Messages
LB_SETHORIZONTALEXTENT