[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

TreeCtrl label edit

Posted on 1997-03-10
1
Medium Priority
?
368 Views
Last Modified: 2013-11-20
I have two splitter panes each containing a tree control. The problem is that when I select an item in the first tree then go and select an item in the second tree, then go back to the same item in the first tree the edit label control opens. How do I prevent this from happening and still retain label edit in each of the slitter panes. Also I don't specify the TVS_SHOWSELALWAYS style when I create the tree control.
0
Comment
Question by:angusross
[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
1 Comment
 

Accepted Solution

by:
rhg earned 300 total points
ID: 1300595
The label edit control opens if an item is selected and you
click it once again. What you describe can only happen if
the item remains selected when you change focus to the other
pane. When you create the tree controls, you have specified
the TVS_SHOWSELALWAYS style, and this is the reason why your
controls behave as you described. Just remove the
TVS_SHOWSELALWAYS style and your problem will be solved.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

649 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