On Mon, 12 Dec 2005 17:52:17 -0200
Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:
> Thanks for the patch,
>
> Just out of curiosity. What were the reasons and what is the problem of
> always passing the user space messages to the LCL? The code is on the
> win32 widgetset anyway, so those messages cannot be handled by the
> widget set.
We strive for the "code once, compile everywhere" motto right ? So the idea
is that if you receive/send messages in the LCL, or call methods there,
that they work cross-platform. Sending all win32 messages to LCL breaks
that idea.
As regards to your need for messages: a component (TSysTray) should be
written that hides the differences between win32 and gtk under an abstract
layer. To implement the win32 side, it might be nice to be able to hook
TWin32WidgetSet(WidgetSet).FAppHandle window, since it's there anyway) for
different components somehow, but that needs some more thought.
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives