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. CTreeCtrl multiselect?

CTreeCtrl multiselect?

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

    Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation

    T O 2 Replies Last reply
    0
    • K Ken Goguen

      Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      The solution was published in Oct'96 issue of Microsoft Systems Journal, in the C++ Q & A column. Chances are you have the article in your VC++ help - look in the 'Periodicals' section. If not, go to msdn.microsoft.com, then to MSDN Magazine and search for past issues. Tomasz Sowinski -- http://www.shooltz.com

      K 1 Reply Last reply
      0
      • K Ken Goguen

        Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation

        O Offline
        O Offline
        Obliterator
        wrote on last edited by
        #3

        To my knowledge it doesn't support it, although it may have been added in the later common controls. I have developed my own treectrl which supports multi selection and multi column support (some work my own, some based on others contributions to CodeProject and CodeGuru)... Ideally I keep meaning to post an article here with it... but never seem to get chance. Plus it contains code which needs improving - drag/dropping the order of columns for instance is buggy, the database support I added uses DAO classes which really need to be re-written in ADO or something. I never finished the sort routine... you know what I mean. Anyhow if you're desperate for something I guess I could send you it. Not sure if theres really a demand anymore for an article... there seems to be several multi-column tree controls now. -- The Obliterator

        1 Reply Last reply
        0
        • T Tomasz Sowinski

          The solution was published in Oct'96 issue of Microsoft Systems Journal, in the C++ Q & A column. Chances are you have the article in your VC++ help - look in the 'Periodicals' section. If not, go to msdn.microsoft.com, then to MSDN Magazine and search for past issues. Tomasz Sowinski -- http://www.shooltz.com

          K Offline
          K Offline
          Ken Goguen
          wrote on last edited by
          #4

          Found it. Thanks Tomasz. Ken Goguen Principle Design Engineer EMC Corporation

          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