CComboBox::SetHorizontalExtent

void SetHorizontalExtent( UINT nExtent );

Parameters

nExtent

Specifies the number of pixels by which the list-box portion of the combo box can be scrolled horizontally.

Remarks

Sets the width, in pixels, by which the list-box portion of the combo box can be scrolled horizontally. If the width of the list box is smaller than this value, the horizontal scroll bar will horizontally scroll 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 or, if the combo box has the CBS_DISABLENOSCROLL style, disabled.

CComboBox OverviewClass MembersHierarchy Chart

See Also   CComboBox::GetHorizontalExtent, CB_SETHORIZONTALEXTENT