471,350 Members | 1,105 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Getting the XY coordinates of a TreeNode in a TreeView

Hi

I want to do the opposite as the GetNodeAt method.

How can i get the Coordinates of a treenode in a treeview ?
I want to position a control at the same Y position as the treenode i have
selected .

Any idea ?

Johan
Jan 23 '06 #1
1 7274
Sagaert,

What about the TreeNode's Bounds property?
--
HTH
Stoitcho Goutsev (100)

"Sagaert Johan" <RE*************@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP14.phx.gbl...
Hi

I want to do the opposite as the GetNodeAt method.

How can i get the Coordinates of a treenode in a treeview ?
I want to position a control at the same Y position as the treenode i have
selected .

Any idea ?

Johan

Jan 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by nevin | last post: by
6 posts views Thread by Craig Lister | last post: by
3 posts views Thread by Jeff | last post: by
1 post views Thread by AAaron123 | last post: by

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.