Share via


LB_GETHORIZONTALEXTENT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

LB_SETHORIZONTALEXTENT
List Boxes Messages