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
helpc++question
9 Posts 6 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.
  • U Offline
    U Offline
    u6ik
    wrote on last edited by
    #1

    I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

    u6ik

    T G H D U 5 Replies Last reply
    0
    • U u6ik

      I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

      u6ik

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      in the resource editor, enlarge the dropdown list to a size bigger than 0


      TOXCCT >>> GEII power

      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

      R 1 Reply Last reply
      0
      • T toxcct

        in the resource editor, enlarge the dropdown list to a size bigger than 0


        TOXCCT >>> GEII power

        [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        And even this is tricky ... I do not know how many people just falled in that trap.

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

        T 1 Reply Last reply
        0
        • R Rage

          And even this is tricky ... I do not know how many people just falled in that trap.

          ~RaGE();

          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          microsoft joke :-D


          TOXCCT >>> GEII power

          [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

          1 Reply Last reply
          0
          • U u6ik

            I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

            u6ik

            G Offline
            G Offline
            G_S
            wrote on last edited by
            #5

            If your using CreateWindow(Ex) you have to set the hight to the hight you want your dropdown window to go because a ComboBox has it's integral hight so setting the hight just afects the dropdown not the ComboBox. ex: hComboBox=CreateWindow("ComboBox",NULL,dwStyle,0,0,400,200,hWnd,(HMENU)iIdCB,hInst,0); else if it is on a dialogbox just drag the middel point as far as you want the dropdown to go i hope this helped

            G_S

            1 Reply Last reply
            0
            • U u6ik

              I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

              u6ik

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              How do you use combobox did you create this control in your program

              _**


              **_

              WhiteSky


              U 1 Reply Last reply
              0
              • H Hamid Taebi

                How do you use combobox did you create this control in your program

                _**


                **_

                WhiteSky


                U Offline
                U Offline
                u6ik
                wrote on last edited by
                #7

                I created the box in the resource editor on a Dialog form.

                u6ik

                1 Reply Last reply
                0
                • U u6ik

                  I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

                  u6ik

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  If it's a size problem, either increase the size of the drop-down portion in the resource editor, or see here.


                  "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

                  "Judge not by the eye but by the heart." - Native American Proverb

                  1 Reply Last reply
                  0
                  • U u6ik

                    I have a problem using a combobox. I am using SDK, not MFC, but basically the combobox updates and I can use the data in it but the drop down functionality of the combobox does not work. I press the arrow at the right of the combobox and nothing happens - I have to use the arrow keys to select the item I want within the combobox data set. Do I have to enable the drop down functionality? Any help would be great :-)

                    u6ik

                    U Offline
                    U Offline
                    u6ik
                    wrote on last edited by
                    #9

                    Thanks for your replies. All is working peachy :-)

                    u6ik

                    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