`
Par2: Using MessageHook 2012-03-15 -- Graham Dawson Best bet would be to use prop:messagehook and 'hook' the message procedure.
All your existing message lines stay the same, you just add a single procedure and two
code lines,
one to hook and one to release the hook.
There's not much in the Help about this but you just define a window procedure using the
prototype in BUILTINS.CLW and then set the hook to the
address of _your_ message window
system{prop:messagehook} = address(MyMessage)
To reset use
system{prop:messagehook} = 0 !*** zero ***
MyMessage prototype
(STRING,
Printed October 24, 2026, 1:53 pm This article has been viewed/printed 36259 times. |