Could anyone guide me how to install a keyboard hook, please? I need to be notified when the ALT key is pressing (Both the Up and Down events), because this won't report through Standard VB events. Overriding the form's WndProc sub not gonna work because I don't have access to it. The code is for a UserControl that needs to know when the ALT is pressing in its parent form.
Thanx Fast Helper, I feel so stupid: The Key_Down! Half of the problem just disappeared, I gotta try for the next half: How to prevent form from processing this key. In VB6 days I was doing this as a piece of cake with SetWindowHookEx, But the App.ThreaID (Last arg of that sub) is gone and MSDN said that it has no equivalent, Funny as Hell!
Someone in the MSDN Newsgroups points me to a neat site that contains a lot of nice .Net components and a very rich set of FAQ that contains almost all of answers to my un-answered questions (including this one). Pay it a visit at http://www.syncfusion.com/
Good luck.