I have a question about using a hook in my program. As is known that we can use a function SetWindowsHookEx(...) in Win32API and C/C++ programming. Now I want do it with BCL and C# in Windows Form progamming. For example, I want to get keyboard message when the form is mininized or unactived. How can I do?
Thanks for any advices.