Events and Hooks documentation

BlitzMax Forums/BlitzMax Programming/Events and Hooks documentation

CreateEvent is used for internal puposes, I wouldn't encourage it's use but the fields of TEvent are listed albeit briefly.

As for the hook module, it's a generic system for calling a bunch of function pointers (you can use it for whatever you want).

What you use data and context references for besides the documented FlipHook(which doesn't use them) and MaxGUI (see the RedrawGadget example) is up to you.