Vahid
Oct 20th, 2002, 06:39 PM
Greetings,
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.
Thanks in advance.
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.
Thanks in advance.