Since I had captures messages inside the main message loop, I forgot it is straightforward: create a [WayBack]*TApplicationEvents*instance, then use the [WayBack]*OnMessage event and hook it to a method like procedure TMainForm.ApplicationEventsMessage(var Msg: TMsg; var Handled: Boolean); begin // figure out if the TMsg should be handled; set Handled to True if you do not […]
Weiterlesen...