Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:

> In the past I thougth that using SetWindowLong was hard. It isn't. It
> will return the address of the current WndProc, so you can just have
> your WndProc like this:
>
> begin
>   if Msg = WM_COPYDATA then
>  ...
>   else CallOldWindowProc;
> end;
>
> And you don't lose anything. With a clever code you can even use the
> same wndproc for any control, just take care to call the correct old
> wndproc in each case.

Where is this documented?


Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to