TreeView /Spy++/ Handle
-
I have used Spy++ to obtain the handle of a Window Panel and TreeView. I now want to use this handle to grab the tree. I don't understand how to do this ?? Any suggestions. Once I grab the tree I want to be able to store this tree in a file. Could someone please give me some direction here Abhishek Karnik
-
I have used Spy++ to obtain the handle of a Window Panel and TreeView. I now want to use this handle to grab the tree. I don't understand how to do this ?? Any suggestions. Once I grab the tree I want to be able to store this tree in a file. Could someone please give me some direction here Abhishek Karnik
You can't create a .NET TreeView instance from a handle to a window. One way would be to send windows messages to this window handle to get information about the tree. Search MSDN for treeview messages, they usually start with TVM_... But nevertheless, I think your question doesn't belong to the C# forum. Try the Visual C++ forum instead. Regards, mav
-
You can't create a .NET TreeView instance from a handle to a window. One way would be to send windows messages to this window handle to get information about the tree. Search MSDN for treeview messages, they usually start with TVM_... But nevertheless, I think your question doesn't belong to the C# forum. Try the Visual C++ forum instead. Regards, mav
Hey, Thanx ..lemme give it a shot there. Regards, Abhishek