|
-
Oct 28th, 2005, 01:37 PM
#6
Re: Distinguish Keypresses without Direct X
You can, as already mentioned, use the GetAsyncKeyState function. First use the KeyDown event and check if Shift (for example) is pressed, you can then call GetAsyncKeyState and pass VK_LSHIFT to check if it's the left shift key that has been pressed, if not VB_RSHIFT must have been pressed (this does not work on Win9x).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|