> The problem is not to store the application state, but how can I trigger the > application to store the state when the computer will be shutdown and how can > I force that the application will be started automaticly when the I logged in > again. As it works for most KDE application on linux. >
Somewhere in main() you will have called FL::run() When all the windows are closed, this call returns control back to main() So if you place a call to a function which stores your application state here, then when the program is closed it will store the state. Not sure about the auturun in KDE, perhaps someone else knows how. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

