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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. multiple selection list box

multiple selection list box

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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
    kumar_mk
    wrote on last edited by
    #1

    i need to implement a list box which supports selection of multiple items in the list at a time, instead of a single item, also i should be able to select the items in the listbox by using ctrl+click or shift+click windows functionality. how can i do this?? any link or sample code available?? thanx in advance kumar_windows

    C D 2 Replies Last reply
    0
    • K kumar_mk

      i need to implement a list box which supports selection of multiple items in the list at a time, instead of a single item, also i should be able to select the items in the listbox by using ctrl+click or shift+click windows functionality. how can i do this?? any link or sample code available?? thanx in advance kumar_windows

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      do you need to write a list box from scratch, or can you use the one that does all this (and more) and is built into every copy of Windows ? ie. CListBox

      image processing | blogging

      K 1 Reply Last reply
      0
      • C Chris Losinger

        do you need to write a list box from scratch, or can you use the one that does all this (and more) and is built into every copy of Windows ? ie. CListBox

        image processing | blogging

        K Offline
        K Offline
        kumar_mk
        wrote on last edited by
        #3

        i can use CListBox, from scratch is not required

        thanx in advance kumar_windows

        1 Reply Last reply
        0
        • K kumar_mk

          i need to implement a list box which supports selection of multiple items in the list at a time, instead of a single item, also i should be able to select the items in the listbox by using ctrl+click or shift+click windows functionality. how can i do this?? any link or sample code available?? thanx in advance kumar_windows

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

          kumar_windows wrote:

          i need to implement a list box which supports selection of multiple items in the list at a time, instead of a single item, also i should be able to select the items in the listbox by using ctrl+click or shift+click windows functionality. how can i do this??

          This is the default behavior.


          "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
          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