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. move items in a CTreeCtrl using drag and drop

move items in a CTreeCtrl using drag and drop

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
6 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.
  • W Offline
    W Offline
    William Engberts
    wrote on last edited by
    #1

    Hi everyone, Does anyone have an idea on how to move items within a CTreeCtrl by dragging them to a new location? Thanks in advance William

    H I 2 Replies Last reply
    0
    • W William Engberts

      Hi everyone, Does anyone have an idea on how to move items within a CTreeCtrl by dragging them to a new location? Thanks in advance William

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See http://www.codeguru.com/cpp/controls/treeview/[^] and Class for drag-drop enabled TreeView[^].

      Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

      1 Reply Last reply
      0
      • W William Engberts

        Hi everyone, Does anyone have an idea on how to move items within a CTreeCtrl by dragging them to a new location? Thanks in advance William

        I Offline
        I Offline
        Iain Clarke Warrior Programmer
        wrote on last edited by
        #3

        Hamid should be ashamed of himself! There's a Tree Control section here on codeproject too. This article looks good: http://www.codeproject.com/KB/tree/MultiSelect_DragImage.aspx[^] Iain.

        Codeproject MVP for C++, I can't believe it's for my lounge posts...

        H 1 Reply Last reply
        0
        • I Iain Clarke Warrior Programmer

          Hamid should be ashamed of himself! There's a Tree Control section here on codeproject too. This article looks good: http://www.codeproject.com/KB/tree/MultiSelect_DragImage.aspx[^] Iain.

          Codeproject MVP for C++, I can't believe it's for my lounge posts...

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          But I say why and no because members of codeproject have full access to each section on the codeproject you dont need to search on the codeproject because it organizes its articles on the left panel you can see Tree Controls section so you should be say he is a hero on the codeproject!

          Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

          I 1 Reply Last reply
          0
          • H Hamid Taebi

            But I say why and no because members of codeproject have full access to each section on the codeproject you dont need to search on the codeproject because it organizes its articles on the left panel you can see Tree Controls section so you should be say he is a hero on the codeproject!

            Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

            I Offline
            I Offline
            Iain Clarke Warrior Programmer
            wrote on last edited by
            #5

            Um, I have almost no idea what you're saying at the moment. :confused: But if I wasn't clear - I'm only teasing you about point to codeg(bleep). I occasionally visit there and find things myself. I think CP is better, but it's not the One Truth(tm) Iain.

            Codeproject MVP for C++, I can't believe it's for my lounge posts...

            H 1 Reply Last reply
            0
            • I Iain Clarke Warrior Programmer

              Um, I have almost no idea what you're saying at the moment. :confused: But if I wasn't clear - I'm only teasing you about point to codeg(bleep). I occasionally visit there and find things myself. I think CP is better, but it's not the One Truth(tm) Iain.

              Codeproject MVP for C++, I can't believe it's for my lounge posts...

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              I guess its a diversity so I used of codeguru instead codeproject but it seems you are angry and also I think Im lucy I'm live yet . :laugh:

              Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

              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