[lazarus] wndproc.....

Shane Miller SMiller1 at stvgb.org
Wed Nov 3 09:05:21 EST 1999


Can someone help me.

I have set up a TControl wndproc and a TWINCONTROL wndproc and a TCustomForm wndproc.
How should I call it?  I planned on doing this in the gtkcallback.inc file inside the callback code

IF (data is TCustomForm) then
   TCustomForm(data).wndproc(MEssage)
else
...
...
etc.

but I can't because wndproc is protected.  Is this the correct method of doing this?  Should I have a public property that I can use to call the highest classes wndproc?  Do I have to setup the WINDOWCLASS and use it's lpfnwndproc to call it?

Idea's?

Shane






More information about the Lazarus mailing list