Hi Everybody,

In Windows operating system, a hook is a mechanism by which a function can intercept events (messages, mouse actions, keystrokes) before they reach an application. The function can act on events and, in some cases, modify or discard them.

In VC++ or VB, it can be implemented with SetWindowsHookEx( ), and CallNextHookEx( ). Ho can it be done with C#? Such as Detecting Caps / Num / Scroll Using a System-wide Keyboard Hook with Java (See http://vbnet.mvps.org/index.html?co...sageboxhook.htm as VB example).