[lazarus] Progress

Michael A. Hess mhess at miraclec.com
Thu Sep 2 11:40:32 EDT 1999


Samuel Liddicott wrote:
> 
> Can you just confirm that the GTK interface to LCL notifys the LCL
> objects by means of messages (via wndproc)?

No it doesn't. The GTK NEVER sends any messages to the LCL. All it ever
does is call a callback routine after the event has been handled and
then if and only if a callback has been assigned to the widget for that
event. In the LCL we have sort of faked the concept of messages coming
from the GTK by assigning a callback for every event we want for every
control. After the event has been handled by the GTK it calls our
callback which we then filter down to the assigned OnEvent method for
the class. We never get a real message from the GTK. They don't exist,
that is what I have been trying to tell you.

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list