473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

is there a way to determine which TreeView node we are hovering over?

With a TreeView control and a MouseHover event
is there a way to determine which node we are hovering over?
Thanks in advance
Nov 21 '05 #1
2 1289
Just Me,

Dim nod As TreeNode =
TreeView1.GetNodeAt(TreeView1.PointToClient(Cursor .Position))

If Not (nod Is Nothing) Then

Label1.Text = nod.Text

Else

Label1.Text = ""

End If
" Just Me" <gr****@a-znet.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
With a TreeView control and a MouseHover event
is there a way to determine which node we are hovering over?
Thanks in advance

Nov 21 '05 #2
Thanks, just what I need

"Pipo" <Pi**@nobody.com> wrote in message
news:et**************@TK2MSFTNGP15.phx.gbl...
Just Me,

Dim nod As TreeNode =
TreeView1.GetNodeAt(TreeView1.PointToClient(Cursor .Position))

If Not (nod Is Nothing) Then

Label1.Text = nod.Text

Else

Label1.Text = ""

End If
" Just Me" <gr****@a-znet.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
With a TreeView control and a MouseHover event
is there a way to determine which node we are hovering over?
Thanks in advance


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: hzgt9b | last post by:
I want to determine the back color that treeview node takes on when selected... its some blue value but I haven't been able to determine what it is... The reason that I ask is that when the...
2
by: Peter Flickinger | last post by:
I have been using a label with the TreeView control - to simulate the ghost image of a node during drag/drop (so that a ghost of the node appears to be floating next to the cursor on a drag/drop)....
2
by: yxq | last post by:
Hello There are checkbox in my treeview, i want to know which node checked? in which event? How to know which level node? Thanks
6
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview....
1
by: Just Me | last post by:
With a TreeView control and a MouseHover event is there a way to determine which node we are hovering over? Thanks in advance
0
by: Treeview Trouble | last post by:
I have an application where there are two radio buttons each of which populates a treeview control with a directory structure. Each radio button corresponds to a different directory which may or...
3
by: **Developer** | last post by:
I need to know when the mouse is over the text of a TreeView node. I know how to get the Bounds of the node which appear to be the correct values to delineate the text. I could check the mouse...
3
by: sianan | last post by:
Hi, I want to display a 'hover box' (for want of a better description) when the mouse hovers over a node in a tree view. The box would display detail information for the node. It should be...
3
by: dutsnekcirf | last post by:
I have a treeview control on a custom task pane in Excel. I've enable the ability to use Drag & Drop (by following this how-to) on the treeview to change the order of the nodes. The problem though...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.