[lazarus] wndproc

Marc Weustink weus at quicknet.nl
Mon Aug 16 15:13:55 EDT 1999


At 12:43 16-08-99 -0500, "Shane Miller" <SMiller1 at stvgb.org> wrote:
>wndproc is not out of favor for windows controls, but for GTK it is.  
>Each control sets a callback for EACH signal so we dispatch them that way.  
>
>The msg's aren'tr being passed back yet because no one has coded them yet.  
>A few of them are already coded, like keydown.
>
>I'm not sure about converting everything to use wndproc.  How does wndproc
>handle it then?  Does it simply do a dispatch?  I haven't looked at Delphi's
>method of handling this, so I'm not awarer of it.

In delphi the WndProc is merely a big case Message.Msg of.... where finally
(in TControl) a call is made to Dispatch

Marc







More information about the Lazarus mailing list