[lazarus] wndproc
Baeseman, Cliff
Cliff.Baeseman at greenheck.com
Mon Aug 16 15:47:48 EDT 1999
makes no difference to me I am for it...
Cliff
-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Monday, August 16, 1999 2:40 PM
To: lazarus at miraclec.com
Subject: Re: [lazarus] wndproc
hmmm..I see that. I don't see why it would be bad to call
TControl(Data).wndproc(Message) instead of dispatching them right away. I
think that would be a good idea plus it would help with our Delphi
compatability. I would also think that this would help in making it easier
to add other widget tool sets.
Anyone against this change?
Shane
>>> Marc Weustink <weus at quicknet.nl> 08/16 2:14 PM >>>
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
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list