JVCL Help:TJvWindowHook.BeforeMessage
JVCL Help: TJvWindowHook.BeforeMessage Event
Search in JVCL Help
Search in all projectsSummary
Occurs before the hooked control handles a received message.
Pascal
propertyBeforeMessage: TJvHookMessageEvent;
Description
Use BeforeMessage to respond to messages send to the hooked control. The BeforeMessage event is fired before the hooked control has handled the message.
Use parameter Handled to specify whether the hooked control may respond to this message. Setting Handled to true will prevent the hooked control or other hooks placed on the control to respond to this message.
This event is only triggered when Active is set to true.
See Also
About
Notes
Be careful with setting parameter Handled to true. For example, unconditionally returning true will crash your application.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page