View Full Version : HELP - TreeView
psvieira
09-21-2006, 03:35 AM
Hi.
How I catch the string in the line that is selected in TreeView?
Thanks.
Niklas
09-21-2006, 01:58 PM
CL_TreeNode* node = _tree->get_current_item();
if (!node)
return;
std::string s = reinterpret_cast<CL_TreeItem*>(node->get_component())->get_text(0);
psvieira
09-21-2006, 06:02 PM
Thanks for the reply, but I made this and variavel "s" this catching memory garbage.
What I can be making of wrong?
Thanks.
psvieira
09-24-2006, 12:54 AM
Problem solved!
Thanks.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.