Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

windows-hooks

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

windows-hooks

FocusHook

Recieves HWND of last activated window

Usage SetHook(hWnd: HWND) => install hook that sends WM_USER + 1 message to target HWND. wParam of this message contains HWND of activated window

HotkeyHook

Hook to set system wide hotkeys. This project was created to switch active window between two applications (uses F11 & F12 keys)

Usage SetHook(Handle1, Handle2: HWND); => install hook that switches beetween two applications(F11 & F12)