WinXComboBox_SetSelection


WinXComboBox_SetSelection (hCombo, index)

Sets the selection in a combo box

Parameter Description
hCombo The handle to the combo box in which to selected the item
index The 0 based index of the item to select

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'select the first item in the list
WinXComboBox_SetSelection (hCombo, 0)

Related Links

WinXAddComboBox
WinXComboBox_GetSelection