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...]
TreeCtrl and ArrayCtrl - how to invoke editor for individual items? [SOLVED...] [message #2319] Sat, 08 April 2006 02:10 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
TreeCtrl and ArrayCtrl - how to invoke editor for individual items?
Other way than:
//before edit
     tree.Remove(editid);
     tree.Add(parentid,  CtrlImg::imgEdit(), edit.Top(), 200);
....
//after edit
     tree.Remove(editid);
     tree.Add(parentid,  CtrlImg::imgOK(), editValue, 200);

would be good something like
tree.Add(int parentid¸ const Image& img¸ Ctrl& ctrl¸ int cx¸ int cy¸ bool withopen)

tree.Set(int parentid¸ const Image& img¸ Ctrl& ctrl¸ int cx¸ int cy¸ bool withopen)

...Or???

[Updated on: Sun, 09 April 2006 04:46]

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 02 08:49:41 CEST 2024

Total time taken to generate the page: 0.01463 seconds