CComboEx.GetTextLengthmethod
Retrieves the length of a text item in a combobox control.
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 GetTextLength (BYVAL hCombo AS HWND) AS LONG
FUNCTION GetTextLength (BYVAL hCombo AS HWND, BYVAL index AS LONG) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
hCombo | The handle of the combo box control. | |
index | The zero-based index of the item. |
Description
Retrieves the length of the text of the edit control in a combobox or the text of an item in the list.
Example
DIM mLen AS LONG = CCombo.GetTextLenth(hCombo) DIM mLen AS LONG = CCombo.GetTextLenth(hCombo, 5)
Reference
- Include file
CCombo.inc - Documented in Windows/WIndows Controls/CCombo Class.md
- Topic: CCombo Class