-
HELP - TreeView
Hi.
How I catch the string in the line that is selected in TreeView?
Thanks.
-
CL_TreeNode* node = _tree->get_current_item();
if (!node)
return;
std::string s = reinterpret_cast<CL_TreeItem*>(node->get_component())->get_text(0);
-
Thanks for the reply, but I made this and variavel "s" this catching memory garbage.
What I can be making of wrong?
Thanks.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks