int = GetEditSel()

Returns the selection of the edit control portion of a combo box.

MFC References


Return Value

A 32-bit value that contains the starting position in the low-order word and the position of the first nonselected character after the end of the selection in the high-order word. If this function is used on a combo box without an edit control, an exception is raised.