Hi guys,
I have a VB6 app that will perform different functions based on which keys are pressed when it starts. The only other thread I found is from Feb. '07 in which the user ended up using the GetKeyState API as I am now.
I can trap the Control and Shift keys but I can't see that there is a way to trap the Alt key. I'm using the "VK_" constants as definded in the API viewer that comes with VB 6 but there is no listing for the alt key. I've also searched Visual Studio help file but found only references to Java stuff.
I'm now going to experiment with putting a form on the screen.
Any other ideas?
Thanks,
Ken
I have a VB6 app that will perform different functions based on which keys are pressed when it starts. The only other thread I found is from Feb. '07 in which the user ended up using the GetKeyState API as I am now.
I can trap the Control and Shift keys but I can't see that there is a way to trap the Alt key. I'm using the "VK_" constants as definded in the API viewer that comes with VB 6 but there is no listing for the alt key. I've also searched Visual Studio help file but found only references to Java stuff.
I'm now going to experiment with putting a form on the screen.
Any other ideas?
Thanks,
Ken