JVCL Help:UnRegisterWndProcHook@TControl@TJvControlHook@TJvHookOrder
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: UnRegisterWndProcHook function
[+] JvWndProcHook.pas Functions
Search in JVCL Help
Search in all projectsSummary
Removes a registered hook.
Pascal
run\JvWndProcHook.pas
functionUnRegisterWndProcHook(AControl: TControl; Hook: TJvControlHook; constOrder: TJvHookOrder): Boolean; overload;
functionUnRegisterWndProcHook(AHandle: THandle; Hook: TJvControlHook; constOrder: TJvHookOrder): Boolean; overload;
Parameters
Parameters | Description |
AControl: TControl | Specifies the hooked control. |
Hook: TJvControlHook | Specifies the control hook procedure. |
const Order: TJvHookOrder | Specifies the kind of hook. It should be the same value as used by the call to RegisterWndProcHook. |
AHandle: THandle | Specifies the hooked handle. |
Description
Call UnRegisterWndProcHook to unhook a control. The hook must previously been registered by a call to RegisterWndProcHook.
TJvWindowHook calls this method when it wants to stop hooking the control. An internal list is maintained to prevent "broken links" when a hook is removed.
See Also
About
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