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. Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions)

Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions)

Scheduled Pinned Locked Moved C / C++ / MFC
designquestion
10 Posts 7 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.
  • M Offline
    M Offline
    Maximilien
    wrote on last edited by
    #1

    Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

    This signature was proudly tested on animals.

    C L A S B 5 Replies Last reply
    0
    • M Maximilien

      Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

      This signature was proudly tested on animals.

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

      Would a simple tree control do the trick ? Because IMHO it looks better than having two separate lists.

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

      1 Reply Last reply
      0
      • M Maximilien

        Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

        This signature was proudly tested on animals.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Maximilien wrote:

        Is there other new ways to present that kind of information ?

        Other: yes. New: probably. You can put all the info in a single control with list and expansion capabilities, such as a TreeView. Here is an example[^]. It could start of in collapsed state, and expand when one of the pluses gets clicked, possibly collapsing any previous expansions. [EDIT]link fixed]/EDIT] :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        modified on Monday, August 17, 2009 10:49 AM

        K 1 Reply Last reply
        0
        • L Luc Pattyn

          Maximilien wrote:

          Is there other new ways to present that kind of information ?

          Other: yes. New: probably. You can put all the info in a single control with list and expansion capabilities, such as a TreeView. Here is an example[^]. It could start of in collapsed state, and expand when one of the pluses gets clicked, possibly collapsing any previous expansions. [EDIT]link fixed]/EDIT] :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          modified on Monday, August 17, 2009 10:49 AM

          K Offline
          K Offline
          kiranin
          wrote on last edited by
          #4

          Example link is not opening, can you check once?

          L 1 Reply Last reply
          0
          • M Maximilien

            Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

            This signature was proudly tested on animals.

            A Offline
            A Offline
            Ahmed Charfeddine
            wrote on last edited by
            #5

            As a UI layout, in a small surface, I suggest a top combobox populated with categories and a bottom checkedListbox having the same width and populated with the "selectable" items. Of course you intercept the combobox selection change event and you refill the listbox with item belonging to the new active category only.

            Easy Profiler : a compile-time profiler for C++ www.potatosoftware.com

            M 1 Reply Last reply
            0
            • A Ahmed Charfeddine

              As a UI layout, in a small surface, I suggest a top combobox populated with categories and a bottom checkedListbox having the same width and populated with the "selectable" items. Of course you intercept the combobox selection change event and you refill the listbox with item belonging to the new active category only.

              Easy Profiler : a compile-time profiler for C++ www.potatosoftware.com

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #6

              Doesn't that "hide" the categories to the user ? i.e. force him to click on the combobox ?

              This signature was proudly tested on animals.

              A 1 Reply Last reply
              0
              • M Maximilien

                Doesn't that "hide" the categories to the user ? i.e. force him to click on the combobox ?

                This signature was proudly tested on animals.

                A Offline
                A Offline
                Ahmed Charfeddine
                wrote on last edited by
                #7

                Yes that's true. But as I understood, the role of categories is here to aid with the selection process only. The combox can show something as long as the following (MSWord options=>customize) : http://farm3.static.flickr.com/2498/3830410758_5ea4f4e55a_o.png[^] And there would be no problem. If the space is really very very small, then you may need a " hierarchical checked combobox " Good luck.

                Easy Profiler : a compile-time profiler for C++ www.potatosoftware.com

                1 Reply Last reply
                0
                • K kiranin

                  Example link is not opening, can you check once?

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #8

                  Link now fixed. Sorry for that. :)

                  Luc Pattyn [Forum Guidelines] [My Articles]


                  The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


                  1 Reply Last reply
                  0
                  • M Maximilien

                    Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

                    This signature was proudly tested on animals.

                    S Offline
                    S Offline
                    Stuart Dootson
                    wrote on last edited by
                    #9

                    A couple of ideas from iTunes

                    1. The 'Grid' view, when you have the 'Artists' view selected, shows a grid containing all the artists. Double-click on that and you get a list view of all the artist's tracks, grouped into albums.
                    2. The list view in iTunes shows all tracks (that's almost 13000 for me). There is a 'Search' field, which acts as a filter - if I want to find tracks which have some link to the text 'camera', I type 'camera' into the search field and get two tracks; 'Distant Camera' by Neil Young and 'The Camera Eye' by Rush

                    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                    1 Reply Last reply
                    0
                    • M Maximilien

                      Good Monday! (yeah, there goes the sympathy votes!) I have a small dialog that let the user select one item out of around 250 items. The items are grouped into logical categories; so I'm looking at doing something like have two lists, one with the categories, and one containing the subsets represented by the selected category. (i.e. a bit like the toolbar/command customize of VS2008) Is there other new ways to present that kind of information ? Thanks. Max.

                      This signature was proudly tested on animals.

                      B Offline
                      B Offline
                      Bram van Kampen
                      wrote on last edited by
                      #10

                      Ever thought about a Tree Control? :)

                      Bram van Kampen

                      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