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. Hide tree item

Hide tree item

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresquestion
5 Posts 4 Posters 1 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.
  • O Offline
    O Offline
    orcun colak
    wrote on last edited by
    #1

    Is it possible to hide and show a tree item ? When I mean to hide, I do not mean to collapse a branch and make an item invisible. I could not find a solution so far.:confused: Orcun Colak

    V J 2 Replies Last reply
    0
    • O orcun colak

      Is it possible to hide and show a tree item ? When I mean to hide, I do not mean to collapse a branch and make an item invisible. I could not find a solution so far.:confused: Orcun Colak

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      What do you mean hide then? Do you mean disable an item? Kuphryn

      O 1 Reply Last reply
      0
      • V valikac

        What do you mean hide then? Do you mean disable an item? Kuphryn

        O Offline
        O Offline
        orcun colak
        wrote on last edited by
        #3

        I mean something like this: Assume there are 3 items in the tree Item1 Item2 Item3 I would like to hide item2 and have a tree like this Item1 Item3 Then sometime later I would like to bring the tree to its initial state. I was wondering if is this possible or do I have to delete the items and then insert them back to simulate a hide/show item effect. Thanks Orcun Colak

        N 1 Reply Last reply
        0
        • O orcun colak

          I mean something like this: Assume there are 3 items in the tree Item1 Item2 Item3 I would like to hide item2 and have a tree like this Item1 Item3 Then sometime later I would like to bring the tree to its initial state. I was wondering if is this possible or do I have to delete the items and then insert them back to simulate a hide/show item effect. Thanks Orcun Colak

          N Offline
          N Offline
          Neville Franks
          wrote on last edited by
          #4

          orcun colak wrote: I was wondering if is this possible or do I have to delete the items and then insert them back to simulate a hide/show item effect. That is the only way I am aware of with the MS tree ctrl. Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com

          1 Reply Last reply
          0
          • O orcun colak

            Is it possible to hide and show a tree item ? When I mean to hide, I do not mean to collapse a branch and make an item invisible. I could not find a solution so far.:confused: Orcun Colak

            J Offline
            J Offline
            J Dunlap
            wrote on last edited by
            #5

            It should be possible, but it isn't yet. I'm the leader of a new project to redo the Windows controls from scratch. It started out as a project on CP[^], but it will soon be moving off of CP, to its own site, and will be called the Fluid UI Toolkit. We are wanting to make a new set of controls from scratch, and avoid the limitations of the current Windows controls.

            "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
            "You must be the change you wish to see in the world." - Mahatma Gandhi

            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