471,356 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Retrieving HANDLE from TreeView (VS2003)

Hi,

Although this is in VB.NET, I don't believe it's language specific.

I have an application that has several panes (similar to Visual Studio in
the Solution Explorer - Solution, Search, Dynamic Help, Properties) etc.

One on of my panes there is a TreeView control. I'm reading XML into this
TreeView perfectly - regardless of whether the TreeView is visible or not.

However, I need to obtain the HANDLE of a TreeNode once it's inserted, and
I've discovered that IF THE TREEVIEW IS NOT VISIBLE the handle for the node
is either not created or not returned.

If the TreeView is visible when the HANDLE is requested, a valid HANDLE is
returned.

Does anybody have any suggestions on how to get around this problem?

Thanks,

Martin Russ
Jul 21 '05 #1
0 975

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Juan Romero | last post: by
77 posts views Thread by Tark Siala | last post: by
reply views Thread by Martin Russ | last post: by
5 posts views Thread by david | last post: by
reply views Thread by rhaazy | last post: by
6 posts views Thread by Christof Nordiek | last post: by
2 posts views Thread by Norton Who | last post: by
reply views Thread by XIAOLAOHU | 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.