Smalltalk User Guide : Setting up, customizing, and extending the system : Extending the system : Application behavior when Windows Power Management events occur
Application behavior when Windows Power Management events occur
On Windows, the VA Smalltalk image will be notified by the operating system when Power Management events occur. The following class methods enable applications and subapplications to perform actions when a system is about to enter or has resumed from Stand By or Hibernation mode. They are executed when the image receives the associated system event. The default behavior for all applications and subapplications is to do nothing.
 
resume
This method should be implemented by applications or subapplications that need to run code after the computer system resumes from the Stand By or Hibernation state. For example, it can be used to reestablish communication links.
 
suspending
This method should be implemented by applications or subapplications that need to run code before the computer system enters the Stand By or Hibernation state. For example, it can be used to gracefully force the termination of communication links. Implementations of this method should not require user interaction to complete their operations.
Last modified date: 01/29/2015