2011-01-01 wcdj
CComboBox::SetDroppedWidth
int SetDroppedWidth( UINT nWidth );
Call this function to set the minimum allowable width, in pixels, of the list box of a combo box.
Parameters
nWidth
The minimum allowable width of the list-box portion of the combo box, in pixels.
Return Value
If successful, the new width of the list box, otherwise CB_ERR.
Remarks
This function only applies to combo boxes with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
By default, the minimum allowable width of the drop-down list box is 0. When the list-box portion of the combo box is displayed, its width is the larger