Controlling messages

Apr 26, 2012 at 3:22pm

Controlling messages

Hello everyone,

Does anyone know of a way to unbind messages to an object ?
I’d like to dynamically bind and unbind messages – I know of the addmess() function to bind, but I haven’t seen any function allowing to remove this link.

If it isn’t possible to unregister messages, is it possible then to handle all the processing of the messages ?
Some kind of default message handling function inside my external would analyze the incoming messages, instead of letting Max do the processing.

Thanks !

Apr 26, 2012 at 3:42pm


You can just use “anything” method ?

class_addmethod (c, (method)toto_anything, "anything", A_GIMME, 0);


You must be logged in to reply to this topic.