Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adding a node in a tree control

Posted on 2004-04-05
5
Medium Priority
?
236 Views
Last Modified: 2010-05-18
How can I insert an item under a selected node using CTreeCtrl class functions
0
Comment
Question by:Gopakumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 252 total points
ID: 10756705
0
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 248 total points
ID: 10756722
HTREEITEM parent = pTreeCtrl->GetSelectedItem();

if ( parent )
{
    pTreeCtrl->InsertItem( "New item", parent);
}
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10926632
Please proceed with that recommendation.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Starting up a Project

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question