TE Edit Control Win32 / Win64 Help
Product page

TerSetComboboxInfo

Set the information for a combo-box input field.

BOOL TerSetComboboxInfo(hWnd, id, Items, SelItemIdx, repaint)
HWND hWnd;The handle of the window to be accessed.
int id;Input field id to retrieve information.
LPBYTE items;A string containing a list of new combo-box items. Each item in the list should be delimited by a '|' character. Example: "Red|Blue|Green|Yellow"
int SelItemIdx;A zero based index of the item in the 'items' parameter to be selected automatically. For example, to select the item 'Blue', you would pass a value of 1 for this parameter.
BOOL repaintSet to TRUE to repaint the control after this operation.

Return Value: This function returns TRUE when successful.