Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » TreeCtrl and ArrayCtrl - how to invoke editor for individual items? [SOLVED...]
Re: TreeCtrl and ArrayCtrl - how to invoke editor for individual items? [message #2338 is a reply to message #2329] Sat, 08 April 2006 16:32 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
luzr wrote on Sat, 08 April 2006 11:50

Not sure what exactly you want to achieve, however, AFAIK the critical part is still TreeCtrl::Node... Wink

Mirek


Yes. And that was the hint behind ...Or??? Smile
But
	TreeCtrl::Node n = tree.GetNode(editid);

 //   n = TreeCtrl::Node::Node(CtrlImg::Var(), edit.Top(), 200, 20);  //I want something like this
	n.SetImage(CtrlImg::Var());
	n.SetCtrl(editor);
	n.SetSize(Size(200,20));

	tree.SetNode(editid, n);


this code requires me to close and reopen the parent node to see the editor...
What's wrong in here?

[Updated on: Sat, 08 April 2006 16:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget lifetime
Next Topic: Dialog returned values
Goto Forum:
  


Current Time: Sun Jun 08 08:08:49 CEST 2025

Total time taken to generate the page: 0.04560 seconds