Whichever item is highlighted is the "selected item." So if the user clicked on
Construction Exspenses.txt
then that item would be selected -- it would be displayed in a black selection rectangle.
If you then called GetSelectedItem() you would get an HTREEITEM. Given that, you can find out what its text is. For example:
HTREEITEM hItem= m_ctrlTree.GetSelectedItem();
CString sSelText= m_ctrlTree.GetItemText( hItem );
MessageBox( sSelText ); // display the text of the selected tree node