Click to See Complete Forum and Search --> : Simple Combo Box . . .
Johnny DeMichael
May 5th, 1999, 12:27 PM
placed on a CFormView. The user types in something to be added to the list box portion of the Combo box. How do you retrieve the string? Tried GetWindowText passing a CString . . Appreciate any suggestions. Thanks, JD
Thomas
May 5th, 1999, 01:05 PM
Have you tried GetLBText?
Regards,
Thomas
Johnny DeMichael
May 5th, 1999, 01:13 PM
Yes, but that initiates a CString with one of the (zero based) items in the list box portion of the CComboBox. I'm trying to copy a user's input ( in the edit control portion) to the list portion. AddString is the right function, but requires the text (CString) be a perimeter. Thanks for your help, & would appreciate any other ideas. JD
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.