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 » TreeCtrl » Serialize
Serialize [message #9432] Mon, 07 May 2007 22:20 Go to next message
bfeiten is currently offline  bfeiten
Messages: 2
Registered: May 2007
Junior Member
Am I right that TreeCtrl not supports Serialize so far.

Would it be hard to add this functionality?

Best regards,
Bernhard
Re: Serialize [message #9435 is a reply to message #9432] Tue, 08 May 2007 09:06 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Just checked it, you are right, serialize is not supported yet

Bas

PS: don't know how hard it is to implement ... never used treeCtrl.
Re: Serialize [message #9452 is a reply to message #9432] Tue, 08 May 2007 19:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
bfeiten wrote on Mon, 07 May 2007 16:20

Am I right that TreeCtrl not supports Serialize so far.

Would it be hard to add this functionality?

Best regards,
Bernhard


Well, but what should it do?

TreeCtrl (and ArrayCtrl and ColumnList) are highly customizable widgets, it is quite hard to decide what exaxtly should be done in Serialize.
Re: Serialize [message #9457 is a reply to message #9452] Tue, 08 May 2007 21:00 Go to previous message
bfeiten is currently offline  bfeiten
Messages: 2
Registered: May 2007
Junior Member
I'm writing a small application that uses TreeCtrl for browsing the directoy tree and that allows to open specifc files for editing. I derived the code from reference example (tree1).
When I reopen the application I would like to get the same tree as the one I had when I closed the application.
I thought it would work like
void Csed::Serialize(Stream& s)
{
s % tree;
}



Previous Topic: Drag and Drop for TreeCtrl
Next Topic: Two problems (1 serious) with TreeCtrl
Goto Forum:
  


Current Time: Fri Apr 19 15:35:47 CEST 2024

Total time taken to generate the page: 0.02273 seconds