TreeView: right-click

Peter Osucha <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <007801c78fa0$1e4ed290$0202a8c0@peterhome>
And since it's late and my brain isn't working well right now, one more...

I have a TreeView control on a form with a bunch of nodes displayed.  If I
'left-click', the treeview highlight shows on the item I clicked.  However,
if I 'right-click', it doesn't.  How do I change the TreeView's behavior so
that the 'right-click' moves the highlight just like the 'left-click' does
(the same behavior that happends in Windows Explorer), please?

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.