On 09/15/2010 01:14 PM, Michael Schnell wrote:
, "Procedure...Message" and Sending Messages ...

Sorry for the misleading comment.

Of course while "Procedure Message" is a language construct and thus basically implemented in FPC, sending Messages is implemented in the LCL and only available when using a "Widget Type" that supports it.

This is because Windows provides the message queue and does not need an implementation in the library, while Linux and MacOS don't provide a message queue and thus the Message queue is implemented in the LCL code. Here GUI callbacks are used to feed the GUI messages to the queue.

IMHO, it would be better if a generic message queue would be implemented in the RTL and same would be replaced or enhanced by the LCL according to the Widget Type used. With this any Widget Type would have a message Queue out of the box.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to