Windows Messages • Interface

property Active: Boolean;
Activate/deactivate the hooking.
destructor Destroy;
Overrides standard destructor to deactivate component before destroying.
function GetHandle: THandle;
Returns handle of currently hooked form/control.
property Control: TWinControl;
Currently hooked control. If this property is unassigned, component hooks owner form.
property OnBeforeMessage: TWindowsMessagesBeforeMessage;
Event that fires before default message processing. If the event handler sets EnableDefault to False the default message procxessing is ignored. The passed Msg can be modified.
property OnAfterMessage: TWindowsMessagesAfterMessage;
Event that fires after default message processing.