CB_GETEDITSEL

Version 3.0

This message returns the starting and ending positions of the selected text in the edit control of a combo box.

Parameter

Description

 

wParam

Is not used.

 

lParam

Is not used.

 

Return Value

The return value is a long integer containing the starting position in the low-order word and the ending position in the high-order word. If this message is sent to a combo box without an edit control, the return value is CB_ERR.