PreQuit  -  Wimp Programming Demonstration

by Keith Vernon

PreQuit is a demonstration of how to code events into the PreQuit stage of Wimp programs. If youre a Wimp programmer you'll find the program easy to follow, but essentially, the objective at the PreQuit stage is to discard the Data alone, but only if the user decides to do so. The real quit occurs when the application quits correctly, and the machine shuts down.

For more informstion refer to the Programmers Reference manual, in sections:
1. SYS "Wimp_SendMessage" (PRM 3-197)
2. SYS "Message_PreQuit" (PRM 3-230 to 232)

Copyright  RISC User, 1999