Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.016 Beiträge
 
#1

Delphi processing all Windows messages

  Alt 30. Dez 2020, 05:10
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...
  Mit Zitat antworten Zitat