CComboEx.SetDroppedWidthmethod
Sets the maximum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION SetDroppedWidth (BYVAL hCombo AS HWND, BYVAL nWidth AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hCombo | The handle of the combo box control. | |
nWidth | The minimum allowable width of the list box, in pixels. |
Return value
If the message is successful, The return value is the new width of the list box.
If the message fails, the return value is CB_ERR.
Description
Sets the maximum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
Example
CCombo.SetDroppedWidth(hCombo, 200)
Reference
- Include file
CCombo.inc - Documented in Windows/WIndows Controls/CCombo Class.md
- Topic: CCombo Class