[lazarus] More Native Win32 stuff(Pascal,canyouhelphere?)

Jeffrey A. Wormsley daworm at cdc.net
Tue Aug 10 20:03:26 EDT 1999


On 8/10/99, at 6:26 PM, Shane Miller wrote: 

>No...that's not the way to do it.
>
>First, I think each control should have it's own.
>You keep saying that it's not possible to do because you would need to
>assign TControl's windowproc, but that makes it easy!  All you do is
during
>the create (LM_CREATE) in win32int.pp (or whatever) you  create a callback
>procedure that gets passed the Sender.  Then in that callback you do a
>TCOntrtol(Data_Received_In_Call_Back).WindowProc or something like that
and
>you'll be calling THAT control's windowproc.

Well, that was where I was having all the trouble, in "create(ing) a
callback procedure that gets passed the Sender."  

I think the method worked out by Marc and Michael (H) will work out very
well, though.  It seems like an (almost) no brainer, once pointed out.

Jeff.







More information about the Lazarus mailing list