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 » TopWindow&PopUp, TrayIcon » TopWindow Backup/Restore
Re: TopWindow Backup/Restore [message #11913 is a reply to message #11911] Sun, 30 September 2007 23:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
zsolt wrote on Sun, 30 September 2007 16:55

I'm trying to use Backup() and Restore() on a TopWindow, but unable to get it working.
Restore() clears the controls instead of restoring them.
My simple test app is attached.


RejectBreak, invoked by standard Cancel (from CtrlLayoutOKCancel), performs Restore if there was prior Backup.

Meanwhile, Close clears the backup (maybe a bad choice?).

The simple way how to fix your code is not to explicitly call Restore Smile

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: [1st Usable Version] TrayIcon for Linux Version 0.6
Next Topic: Modal vs non-modal window
Goto Forum:
  


Current Time: Wed May 15 00:54:26 CEST 2024

Total time taken to generate the page: 0.02553 seconds