Events / Hooks and Stuff

BlitzMax Forums/BlitzMax Beginners Area/Events / Hooks and Stuff

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Papa,

I read that I am trying to understand how

AddHook EmitEventHook,eventhook,Self


And
Function eventhook:Object (id,data:Object,context:Object)
		Local	event:TEvent
		Local	app:TApplet
		event=TEvent(data)
		app=TApplet(context)
		app.OnEvent event	
End Function


Correlate to one another but I'll figure it out. I never thought this GUI stuff would be confusing to me.