I'm using VB 6.0, and a bound (ADO) DataCombo control. I need some help with the matching. What I would like it to do is:
1. when the user type some characters in the datacombo box, the drop down list will be shown and the matched item will be highlighted.
2. The highlighted item will be the first one in the drop down list.
For the standard Combo Box, I can just use some API calls, like
SendMessage((CB.hwnd), CB_FINDSTRING, -1, ....)
But all these API calls do not work with the DataCombo box. Also, DataCombo don't have the "ListIndex" property as originally Combo box do.
Can anybody give me some suggestions and examples?