MFC CTreeCtrl Adding New Tree Item

This is a discussion on MFC CTreeCtrl Adding New Tree Item within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I'm using MFC CTreeCtrl in MDI Application. I need to insert item in a selected position like Drag and ...

  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.
    Attached Images Attached Images  

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 11:52 AM
  2. Retail Outlet Managment System - the 4th
    By Presidentofusa in forum C Programming
    Replies: 3
    Last Post: 11-10-2007, 09: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, 09:33 AM
  5. BST/Red and Black Tree
    By ghettoman in forum C++ Programming
    Replies: 0
    Last Post: 10-24-2001, 10:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21