Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Trying to extend autocomplete combobox

Trying to extend autocomplete combobox

Scheduled Pinned Locked Moved C / C++ / MFC
regexhelptutorialannouncement
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • L Lost User

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups