Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree control

Status
Not open for further replies.

perolof

Programmer
Aug 18, 2002
10
GB
Hi,

I have added a "OnDblclkTcTree" function that is called if the tree is dobble clicked. But how do I get the what node that was clicked ?

Thanks PerOlof
 
I think you can get the node calling the following member function of the TreeView class:

CTreeCtrl::GetSelectedItem();

This function returns a handle to the current selected node

Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top