Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CListBox::SetHorizontalExtent
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void SetHorizontalExtent( int cxExtent );
 
  Parameter   Description
 
  <cxExtent>  Specifies the number of pixels by which the list box can be
              scrolled horizontally.
 
  Remarks
 
  Sets the width, in pixels, by which a list box can be scrolled
  horizontally. If the size of the list box is smaller than this value,
  the horizontal scroll bar will horizontally scroll items in the list
  box. If the list box is as large or larger than this value, the
  horizontal scroll bar is hidden.
 
  To respond to a call to SetHorizontalExtent, the list box must have been
  defined with the WS_HSCROLL style.
 
  See Also
 
  CListBox::GetHorizontalExtent, LB_SETHORIZONTALEXTENT
 
 
                                     -♦-