Thread: MFC CTreeCtrl Adding New Tree Item

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    MFC CTreeCtrl Adding New Tree Item

    Hi,
    I'm using MFC CTreeCtrl in MDI Application.
    I need to insert item in a selected position like Drag and Drop an item from one Tree to the another tree's selected position.

    eg: In this Image i need to insert new item after child0 of root1 but in my case newly added item goes to the last after child1 of root1

    Also i need to show a Highlighting line shown in this image.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Moved to windows specific forum
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Immediate programming help! Please!
    By xMEGANx in forum C++ Programming
    Replies: 6
    Last Post: 02-20-2008, 12:52 PM
  2. Retail Outlet Managment System - the 4th
    By Presidentofusa in forum C Programming
    Replies: 3
    Last Post: 11-10-2007, 10:44 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. BST/Red and Black Tree
    By ghettoman in forum C++ Programming
    Replies: 0
    Last Post: 10-24-2001, 10:45 PM