Board index » delphi » Using Application.OnMessage to get WM_USER message from other apps
Jeremy Wells
![]() Delphi Developer |
Tue, 16 Mar 1999 03:00:00 GMT
Using Application.OnMessage to get WM_USER message from other appsI'm trying to use the "Application.OnMessage" event handler to trap a procedure TForm1.AppMessage(var Msg: TMsg; var Handled:Boolean); When I activate the above procedure (in a TForm1.Button1Click procedure) Application.onmessage := AppMessage It doesn't see the message. However, I notice if I replace "WM_USER+203" with "WM_CHAR" (to look for Any Ideas? -Jeremy |