Where "incommingMessage" is a message or message derived object, and
instance is a "DispatchObject".
Mind you, I am doing a few things here.
1) Dispatch calls only the most derived method with the matching message id.
2) The name of the method "MouseMove" is irrelevent. The id is used to
find the method.
3) Inherited message handlers can be invoked through the protected
4) If no methods with a matching id are found, the virtual
"DefaultHandler" method is called.
Re: C# implementation of TObject Dispatch/DefaultHandler
On 02 Feb 2010, at 17:49, Anthony Walter wrote:
> I though I'd share this and as for any feedback.
Since this does not appear to be about programming in FPC (nor about interoperating with FPC/Delphi code), the fpc-other mailing list would be more appropriate for this discussion. Please post follow-ups there.