TreeCtrl Pointer
-
Hello, Through the program I want to access different tree items, what is the pointer or how can I declare a pointer to access these items in the tree? Thank you. --Star
-
Star08 wrote:
what is the pointer or how can I declare a pointer to access these items in the tree?
How did you create the tree?
led mike
-
Hello, Through the program I want to access different tree items, what is the pointer or how can I declare a pointer to access these items in the tree? Thank you. --Star
Items in a treeview control are identified by a handle (HTREEITEM type). You can navigate the tree (item handle) heirarchy with TVM_GETNEXTITEM. You can get an items information with TVM_GETITEM. Instead of a pointer to an item, you'll probably want to work with a HTREEITEM handle. Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
-
Items in a treeview control are identified by a handle (HTREEITEM type). You can navigate the tree (item handle) heirarchy with TVM_GETNEXTITEM. You can get an items information with TVM_GETITEM. Instead of a pointer to an item, you'll probably want to work with a HTREEITEM handle. Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder