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. Combo box problem ....

Combo box problem ....

Scheduled Pinned Locked Moved C / C++ / MFC
help
4 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.
  • T Offline
    T Offline
    tina newcoder
    wrote on last edited by
    #1

    i am having a combo box in my project to input date, it is as follows,

    CComboBox m_date;
    m_date.AddString("1");
    m_date.AddString("2");
    m_date.AddString("3");
    m_date.SetCurSel(0);

    but the problem, is that i can see only the first element .... where are others .... :confused: plz help me ... i have set the property of the combo box as 'drop list' ...

    N 1 Reply Last reply
    0
    • T tina newcoder

      i am having a combo box in my project to input date, it is as follows,

      CComboBox m_date;
      m_date.AddString("1");
      m_date.AddString("2");
      m_date.AddString("3");
      m_date.SetCurSel(0);

      but the problem, is that i can see only the first element .... where are others .... :confused: plz help me ... i have set the property of the combo box as 'drop list' ...

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Go to the resource editor and make click on your combobox, then make the vertical size bigger. Afterwards your items should appear.

      Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

      T 1 Reply Last reply
      0
      • N Nelek

        Go to the resource editor and make click on your combobox, then make the vertical size bigger. Afterwards your items should appear.

        Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

        T Offline
        T Offline
        tina newcoder
        wrote on last edited by
        #3

        oh my god !!! its done .... a lot of thanx to u .... :-D

        N 1 Reply Last reply
        0
        • T tina newcoder

          oh my god !!! its done .... a lot of thanx to u .... :-D

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #4

          you are wellcome :)

          Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

          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