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

combo box

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 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.
  • K Offline
    K Offline
    kingori
    wrote on last edited by
    #1

    Hi, i got a question, and av strugled enough tyms tryn to have this. you know the way when you click on a combo box's arrow at the end a small list shows again with two other arrows that enable you to scroll the small list, i have tried make combo box without scroll bars, but this still gives me the short list, that can only be scrollled with the keyboards up down arrows. i haven't posted my question yet, sorry for the delay.. this is it, how do i achieve those combo boxes that i see, that shows a very long list, with like 20 or 30 items.no scroll bars. thank you in advance.

    S C 2 Replies Last reply
    0
    • K kingori

      Hi, i got a question, and av strugled enough tyms tryn to have this. you know the way when you click on a combo box's arrow at the end a small list shows again with two other arrows that enable you to scroll the small list, i have tried make combo box without scroll bars, but this still gives me the short list, that can only be scrollled with the keyboards up down arrows. i haven't posted my question yet, sorry for the delay.. this is it, how do i achieve those combo boxes that i see, that shows a very long list, with like 20 or 30 items.no scroll bars. thank you in advance.

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #2

      king'ori wrote:

      how do i achieve those combo boxes that i see, that shows a very long list, with like 20 or 30 items.no scroll bars.

      The only solution i can think as of now is to adjust the size of list of combo box in the resource such that it will fit your long list.

      Regards, Sandip.

      1 Reply Last reply
      0
      • K kingori

        Hi, i got a question, and av strugled enough tyms tryn to have this. you know the way when you click on a combo box's arrow at the end a small list shows again with two other arrows that enable you to scroll the small list, i have tried make combo box without scroll bars, but this still gives me the short list, that can only be scrollled with the keyboards up down arrows. i haven't posted my question yet, sorry for the delay.. this is it, how do i achieve those combo boxes that i see, that shows a very long list, with like 20 or 30 items.no scroll bars. thank you in advance.

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        You have to make a longer drop list in the resource editor: when your control is placed, click on the arrow, and you will be able to adjust the size of the drop list (instead of the size of the control itself). Make it big enough to show the number of items you would like.

        Cédric Moonen Software developer
        Charting control [v1.5] OpenGL game tutorial in C++

        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