[[lazarus] Design issues]

Samuel Liddicott sam at campbellsci.co.uk
Tue Feb 22 11:23:33 EST 2000




> -----Original Message-----
> From: Michal Bukovjan [mailto:mbukovjan at netscape.net]
> Sent: Tuesday, February 22, 2000 11:58 AM
> To: lazarus at miraclec.com
> Subject: Re: [[lazarus] Design issues]
>
> Yes, I am thinking about this same thing. The virtual method
> concept would be
> much more clear, maybe some abstract interface object and
> then for each widget
> there could be a mapping extended interface object descendant.
> BTW, I wonder even Borland uses CM_??? concept which seems to
> me redundant on
> many places. Does anybody know why use these internal CM_
> messages at all?

Because CM_ messages are not interpreted by windows default wndprocs; it
supposedly stops accidental message storms.

I think.

Having done it that way makes debugging easier because you can instantly
rule out a lot of scenarios; cm_ is never processed by windows wnd_procs.

Sam






More information about the Lazarus mailing list