[Lazarus] LCL Message handling

Vincent Snijders vincent.snijders at gmail.com
Wed Oct 19 19:07:47 CEST 2011


2011/10/19 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
> Vincent Snijders schrieb:
>
>> What I was against, is letting all windows messages bubble up from the
>> win32 widgetset interface into the LCL. I am more a proponent of only
>> passing those messages to the LCL what are handled by the LCL, not all
>> and very messages that the win32 widget generate.
>
> IMO such a separation already exists. The WM messges are sent *to* (Windows)
> widgets, like widget-specific EM (Edit), BM (Button) etc. messages. A widget
> itself sends back *notification* messages (EN, BN...), for use in an
> application or in the VCL/LCL.

No, IIRC, currently every message that gets into the win32 message
handlers, is passed to the LCL.

Vincent




More information about the Lazarus mailing list