Treeview Control
-
I'm working on a VB.net app which requires drag and drop between a ListView control and a Treeview control. The problem is that the selected node in the treeview control doesn't seem to change when I'm hovering over them with the item dragged. I can't even seem to make this happen programmatically since I can't find a way to get the tree node that the cursor is hovering over (no e.Node in mouseover event :( How can I make this work? Also, I can't select a nodes by right clicking on them. I need this to display a popup menu specific to each node. :(( Please please help. :rose:
-
I'm working on a VB.net app which requires drag and drop between a ListView control and a Treeview control. The problem is that the selected node in the treeview control doesn't seem to change when I'm hovering over them with the item dragged. I can't even seem to make this happen programmatically since I can't find a way to get the tree node that the cursor is hovering over (no e.Node in mouseover event :( How can I make this work? Also, I can't select a nodes by right clicking on them. I need this to display a popup menu specific to each node. :(( Please please help. :rose:
Sorry, can't help you there. I'm familiar with these controls in vb6 but haven't reach that far it .net . Have you tried looking in MSDN? Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
Get your facts first, and then you can distort them as much as you please Mark Twain -
Sorry, can't help you there. I'm familiar with these controls in vb6 but haven't reach that far it .net . Have you tried looking in MSDN? Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
Get your facts first, and then you can distort them as much as you please Mark Twain -
I looked in MSDN and found the member function GetNodeAt(Drawing.Point) of the treeview control. Sorry to have bugged you people. :-) Should have looked there first. :-O
No Prob, man! Glad that you found a solution Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
Get your facts first, and then you can distort them as much as you please Mark Twain