Article # 76, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
The OmniGo and its state files.
Pressing FN+F3 will shut down the currently running application and force it to save to its state file. SHIFT+ON+NEXT or pressing the reset button on the back of the OmniGo will delete all state files and the clipboard (without deleting the other contents of the RAMdisk). When the OmniGo is turned off, processing is suspended but applications are not shut down to state. Power-down and power-up are basically transparent to applications. On power-up, MSG_NOTIFY_DATE_TIME_CHANGE is sent over the GCNSLT_DATE_TIME GCN list. There are three ways to limit the size of the application's state file. 1. Completely disable the state file for your application. Write a handler for MSG_GEN_PROCESS_CREATE_NEW_STATE_FILE and simply return NullHandle. If your application needs to save some small amount of information between sessions, consider saving it in the ini file instead of in a state file. 2. Marking a resource as notDetachable will prevent objects in that resource from saving to state. 3. Marking an object ignoreDirty will prevent that object from saving to state.