Quote:
But the above code does'nt work. actually input string is not in selected mode then how it give index? iam using an AutoComplete combo box. so i need typed input from user.
If you need to get text associated with it? then use GetWindowtext().
eg:
CString csText;
m_Combo.GetWindowText( csText );