Wimp Events
These are the 'classic' desktop events listed in volume 3 of the Programmers Reference Manuals. Wimp events always call the fundamental event-handler
PROCDealWith_WimpEvent(event)
Programming this procedure uses low-level SWIs and is exactly as described in the PRM with the information about the event being stored in the byte array WIMP% .
Specialist event-handlers
Hopefully, most applications will be able to avoid the need to provide a definition of the fundamental Wimp event-handler and, to increase the likelihood of that eventuality, AppBasic provides the specialist (Wimp) event-handlers:
WindowRedraw |
Called when the window's auto-redraw flag is deselected and the task manager issues a redraw event |
WindowButtonClick |
Called when a mouse-click takes place on a window button-gadget |
DataLoad |
Called when a file is dragged from a Filer display onto an object belonging to the application |
DataSave |
Called when data is being transferred from another application |
DataOpen |
Data broadcast (i.e. file is double-clicked) |
WimpMessage |
Generic wimp message handler |
|