Trying to extend autocomplete combobox
-
Hi! I needed a two column combo box that autocompletes. I used Chris Maunders excellent autocomplete example as a starting point and have a perfectly working control. However I have a problem: I normally would override ONSELENDOK in my app to update a view when a user selects a new item from the drop down list, with this new control a user can type a partial string, hit a match and tab out of the control. So there are two ways of selecting an item. I have tried several methods to do this but none very successfull, they would be too complex in most cases. The ideal solution I'm guessing would be to post an ONSELENDOK message either way but I can't seem to get it to work. Any recommendations would be greatly appreciated.
-
Hi! I needed a two column combo box that autocompletes. I used Chris Maunders excellent autocomplete example as a starting point and have a perfectly working control. However I have a problem: I normally would override ONSELENDOK in my app to update a view when a user selects a new item from the drop down list, with this new control a user can type a partial string, hit a match and tab out of the control. So there are two ways of selecting an item. I have tried several methods to do this but none very successfull, they would be too complex in most cases. The ideal solution I'm guessing would be to post an ONSELENDOK message either way but I can't seem to get it to work. Any recommendations would be greatly appreciated.
Hi, Please check SHAutoComplete( ) if you are using latest version of IE... It helped me... ================== The original message was: Hi!
I needed a two column combo box that autocompletes. I used Chris Maunders excellent autocomplete example as a starting point and have a perfectly working control.However I have a problem: I normally would override ONSELENDOK in my app to update a view when a user selects a new item from the drop down list, with this new control a user can type a partial string, hit a match and tab out of the control. So there are two ways of selecting an item. I have tried several methods to do this but none very successfull, they would be too complex in most cases. The ideal solution I'm guessing would be to post an ONSELENDOK message either way but I can't seem to get it to work.
Any recommendations would be greatly appreciated.