TE Edit Control Win32 / Win64 Help
Product page

TerGetComboboxInfo

Retrieve the information for a combo-box input field.

int TerGetComboboxInfo(hWnd, id, out items)
HWND hWnd;The handle of the window to be accessed
int id;Id of the combo-box field to retrieve information.
LPBYTE items;A pointer of a string to receive the list of combo-box items. Each item in the list is delimited by a '|' character.

Return Value: This function returns a zero based index of the selected item when successful. A value of -1 indicates an error condition.