I defined my own windows message. I have a handler procedure. It works in the form, but not in the component.
The code is as follows:
WM_VVTInterfaceMessage = 1125;
procedure WMVVTInterfaceMessage(var Msg: TMessage); message WM_VVTInterfaceMessage;
Additionally, how can I pass a string in the message?
I tried using a PChar in the lParam, but I get GPFs and Delphi exits immediately.