component TacAppHookComponent class
Hierarchy
Return to Introduction 
Unit
acClasses  

Declaration
type  
  TacAppHookComponent = class(TacHFormHookComponent)  
  protected  
    procedure AppMessageBefore(var Message: TMessage; var Handled: Boolean); virtual;  
    procedure AppMessageAfter(var Message: TMessage); virtual;  
  end;  

Description
The TacAppHookComponent class hooks all Windows messages (WM_xxx) that passes to the application handle and lets you process these messages by hooking AppMessageBefore and AppMessageAfter protected routines.  



See also
TacComponent, TacFormHookComponent and TacHFormHookComponent classes;  
TacAppEvents component.