SHTMLFileExitAction

This action will terminate the application and takes care of saving possibly existing unsaved changes before. The application will only be terminated, if all possibly open documents could successfully and safely be closed.

To ensure a safe termination of SimplyHTML, SHTMLFileExitAction fires an SHTMLFileCloseAll action to safely close all possibly open documents. It then checks whether or not documents are left open. If yes, one or more documents could not be closed safely and the application will not be terminated.

To properly handle window close events, this action is used in method processWindowEvent of FrmMain too.