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. How to Manage CTreeCtrl ???

How to Manage CTreeCtrl ???

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
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.
  • A Offline
    A Offline
    Ariel
    wrote on last edited by
    #1

    Hi there, I'm trying to work with a CTreeCtrl and what i'm trying is to close all the expanded nodes when another node is opened. How can i do that ??? Thanks alot, Ariel.

    L 1 Reply Last reply
    0
    • A Ariel

      Hi there, I'm trying to work with a CTreeCtrl and what i'm trying is to close all the expanded nodes when another node is opened. How can i do that ??? Thanks alot, Ariel.

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      catch the TVN_ITEMEXPANDED message and close the others you want to there "every year we invent better idiot proof systems and every year they invent better idiots"

      L 1 Reply Last reply
      0
      • L l a u r e n

        catch the TVN_ITEMEXPANDED message and close the others you want to there "every year we invent better idiot proof systems and every year they invent better idiots"

        L Offline
        L Offline
        Le Ridder Noir
        wrote on last edited by
        #3

        Try the TVS_SINGLEEXPAND style Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And Experience with the man wich made the longest phonecall of the world And experience with the one and only NewEra Guru.

        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