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. ComboBox - turning OFF autocomplete in CE

ComboBox - turning OFF autocomplete in CE

Scheduled Pinned Locked Moved C / C++ / MFC
c++beta-testingtutorialquestion
2 Posts 2 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.
  • C Offline
    C Offline
    Codin Carlos
    wrote on last edited by
    #1

    ComboBox - turning OFF autocomplete in CE... in Windows CE (VC++ 3.0, Pocket PC 2000) the combo boxes do autocomplete (it looks up the first string with the same first char you type in, then fills the edit box with that whole string). THIS IS VERY ANNOYING in CE, especially when trying to use the soft-keyboard to actually enter or EDIT a new string in it's edit box. One beta tester nearly left the room in a rage because she couldn't figure out how to "beat the system". Ugh... Any Hints? Anyone? Beuller? X| Carlos

    J 1 Reply Last reply
    0
    • C Codin Carlos

      ComboBox - turning OFF autocomplete in CE... in Windows CE (VC++ 3.0, Pocket PC 2000) the combo boxes do autocomplete (it looks up the first string with the same first char you type in, then fills the edit box with that whole string). THIS IS VERY ANNOYING in CE, especially when trying to use the soft-keyboard to actually enter or EDIT a new string in it's edit box. One beta tester nearly left the room in a rage because she couldn't figure out how to "beat the system". Ugh... Any Hints? Anyone? Beuller? X| Carlos

      J Offline
      J Offline
      Jonas Larsson
      wrote on last edited by
      #2

      Hmm. I left my pda with the testers today, but as far as I remeber, CComboBox'es doesnt automatically do autocomplete in the edit box, they do it in the small popup window over the SIP. Maybe this is a feature in your program, or maybe Im just remembering it wrong? Anyway, to disable the autocompletion that the SIP offers (handy on PPC 2000's since they do it for editboxes with ES_PASSWORD too) do this: SIPINFO info; SHSipInfo(SPI_GETSIPINFO, 0, &info, 0); info.fdwFlags |= SIPF_DISABLECOMPLETION; SHSipInfo(SPI_SETSIPINFO, 0, &info, 0); SHSipPreference(m_hWnd, SIP_FORCEDOWN); SHSipPreference(m_hWnd, SIP_UP); And to turn it back on: SIPINFO info; SHSipInfo(SPI_GETSIPINFO, 0, &info, 0); info.fdwFlags &= ~SIPF_DISABLECOMPLETION; SHSipInfo(SPI_SETSIPINFO, 0, &info, 0); “Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002

      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