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. disable auto-complete in dropdown [modified]

disable auto-complete in dropdown [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
6 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.
  • E Offline
    E Offline
    elephantstar
    wrote on last edited by
    #1

    I am trying to set the edit control part of the dropdown to a specific number such as 15 (m_data = "15"). But because a value of 150 exists in the dropdown, it automatically sets it that number. How to I disable this? Thanks. -- modified at 12:10 Tuesday 30th May, 2006

    V 1 Reply Last reply
    0
    • E elephantstar

      I am trying to set the edit control part of the dropdown to a specific number such as 15 (m_data = "15"). But because a value of 150 exists in the dropdown, it automatically sets it that number. How to I disable this? Thanks. -- modified at 12:10 Tuesday 30th May, 2006

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      style dropdown? Kuphryn

      E 1 Reply Last reply
      0
      • V valikac

        style dropdown? Kuphryn

        E Offline
        E Offline
        elephantstar
        wrote on last edited by
        #3

        Yes, it's a dropdown combo box.

        V 1 Reply Last reply
        0
        • E elephantstar

          Yes, it's a dropdown combo box.

          V Offline
          V Offline
          valikac
          wrote on last edited by
          #4

          experiment: edit does not change even if string exists in combo box any specific non-default styles? Kuphryn

          E 1 Reply Last reply
          0
          • V valikac

            experiment: edit does not change even if string exists in combo box any specific non-default styles? Kuphryn

            E Offline
            E Offline
            elephantstar
            wrote on last edited by
            #5

            No. It's just a dropdown with a CString member variable mapped to it. When I set the value to 16 for instance, it accepts that value. But for some reason, the value changes or the auto-complete kicks in when the number resembles what's in the pull-down.

            V 1 Reply Last reply
            0
            • E elephantstar

              No. It's just a dropdown with a CString member variable mapped to it. When I set the value to 16 for instance, it accepts that value. But for some reason, the value changes or the auto-complete kicks in when the number resembles what's in the pull-down.

              V Offline
              V Offline
              valikac
              wrote on last edited by
              #6

              handle CBN_EDITCHANGE what you see after UpdateData? Kuphryn

              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