Originally Posted by
cronodragon
Is that WndProc() a class method? How do you declare it in the class to be called correctly? And how do you assign it to lpfnWndProc when creating the window class?
EDIT: Anyway, maybe it's a VCL event, so it doesn't apply to formless apps.
yup, vcl tricks here
something similar to this:
Code:
type
TForm1 = class(TForm)
procedure WMRecv(var Message: TMessage); message WM_RECV;
and the TForm1.WMRecv will be called when the vcl's message loop goes around and detects it.
Bookmarks