Solved

Messages to TreeView control, NM & TVM?

Posted on 1998-11-30
2
354 Views
Last Modified: 2013-11-20
Can anyone tell me the difference between the messages that call the class-wizard functions OnSelChangedMyTree and OnDblClickMyTree for a Tree View control. Despite apparently being called by the message (NM_DBLCLICKED and TVM_SELCHANGED) with the same parameters, my operations  with a pointer to the TreeCtrl object will not work on the DBLClick fundtion yet they will on the SelChanged... ??
0
Comment
Question by:rarebear
2 Comments
 
LVL 3

Expert Comment

by:plaroche
ID: 1325499
Could you elaborate a little, tell us what doesn't work, show us the code....
0
 
LVL 4

Accepted Solution

by:
nil_dib earned 70 total points
ID: 1325500
The difference is that NM_DBLCLICKED is sended when a double click occurs on
a the item and TVM_SELCHANGED indicates when the selected item changed. This
can happen not only by clicking once/twice with the mouse but changing the selected
item with the arrow keys.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Importing  SSL Certificate into Firefox using GPO 28 202
string initialization in java 11 109
ffmpeg - "rtsp://...... Operation not permitted" 4 73
java ^ examples 8 62
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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now