JVCL Help:TJvShellHook

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvShellHook
run\JvShellHook.pas


Summary

Wrapper component for the RegisterShellHookWindow and DeregisterShellHookWindow Windows API functions.

run\JvShellHook.pas


Pascal

 run\JvShellHook.pas
 TJvShellHook = class(TJvComponent);


Description

  1. JVCLInfo

Wraps calls to RegisterShellHookWindow and DeregisterShellHookWindow into a simple to use component. RegisterShellHookWindow registers a specified shell window to receive certain messages for events or notifications that can be useful to shell applications. The event messages received are only those sent to the shell window associated with the specified window's desktop. Many of the messages are the same as those that can be received after calling the SetWindowsHookEx function and specifying WH_SHELL for the hook type. The difference with RegisterShellHookWindow is that the messages are received through the specified window's WindowProc and not through a call back procedure. See MSDN (http://msdn.microsoft.com, search for "RegisterShellHookWindow") for more details

run\JvShellHook.pas


About

Navigation

run\JvShellHook.pas


Notes

The RegisterShellHookWindow and DeregisterShellHookWindow API functions may not be available on all versions of Windows. To detect if the API is available, set Active to true. If it remains true, the API is available. If it is reset to false, the API is not available.

run\JvShellHook.pas


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