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 » Community » Newbie corner » serialize Ctrl status?
Re: serialize Ctrl status? [message #33527 is a reply to message #33510] Sun, 21 August 2011 00:57 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3443
Registered: August 2008
Senior Veteran
Hello Dave

AFAIK you will have to add a Serialize method in parent class and include inside the properties of the controls you want to store, as:

class MyClass : public Ctrl {
public:
	void Serialize(Stream &s) {
		s 
			% mycontrol1.IsEnabled()
			% mycontrol2.IsEnabled();
	}
	...


Best regards
IƱaki
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: GridCtrl Focus Indication Problem
Next Topic: Dynamic Graphs Functions
Goto Forum:
  


Current Time: Mon Aug 04 19:15:34 CEST 2025

Total time taken to generate the page: 0.09128 seconds