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 » Extra libraries, Code snippets, applications etc. » Applications created with U++ » drawing toy ( sort of )
Re: drawing toy ( sort of ) [message #23250 is a reply to message #23249] Mon, 05 October 2009 12:23 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
koldo wrote on Mon, 05 October 2009 10:58

Hello
- Add a language variable in your application class, like "int lang;"
- Use serialization and include that variable
- In the beginning of the program after serialization set the language to use with SetLanguage
- Add an option in your program to set the language for the next time the program is opened



or you could use GetSystemLNG() to get system language and use it instead of serialization of custom language. I usually set language once for entire system and applications should use that one. I think this is the "good way" because i don't want to configure each application which language to use Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Port giFT (a great but abandoned P2P project) to U++?
Next Topic: Scrum Tool
Goto Forum:
  


Current Time: Mon Apr 29 19:29:14 CEST 2024

Total time taken to generate the page: 0.01831 seconds