Flávio Etrusco wrote:
try
LCLObject.WindowProc(TLMessage(Msg)); // Doesn't work???
except
Application.HandleException(nil);
end;
This should work, see DeliverMessage in gtkproc.inc.
I guess the WindowProc is just a pointer to the default callback
function for the underlying API?
Nope. It is the default messagehandler of a TControl.
Unfortunately I can't remeber whether you should call Dispatch,
DefaultHandler, Perform, WndProc or what else? :-$
For winapi yes, for the LCL no.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives