San
2007-05-17 11:07:01 UTC
Hi,
I am writing an addin for Visual Basic 6.0 IDE to capture the Keyboard events.
However I am not able to figure out how to capture the keyboard events.
A similar application is provided by Microsoft called "TabOrder.vbp" in
Samples.
But the problem with this sample application is that it responds to Keyboard
events when it's window has focus. When the focus is shifted to VB IDE, it
couldn't capture the keyboard events (For Example: Ctrl+P).
One way to do this is to use Window Subclassing (I am suspecious about it,
not sure).
Is there any way to capture the keyboard events in VB IDE?
Please help.
Thanks,
Sandeep
I am writing an addin for Visual Basic 6.0 IDE to capture the Keyboard events.
However I am not able to figure out how to capture the keyboard events.
A similar application is provided by Microsoft called "TabOrder.vbp" in
Samples.
But the problem with this sample application is that it responds to Keyboard
events when it's window has focus. When the focus is shifted to VB IDE, it
couldn't capture the keyboard events (For Example: Ctrl+P).
One way to do this is to use Window Subclassing (I am suspecious about it,
not sure).
Is there any way to capture the keyboard events in VB IDE?
Please help.
Thanks,
Sandeep