|
-
February 19th, 2000, 09:23 AM
#1
How to get then scan code value of key ?
Hi all !
I want to know if its possible to get the scan code value when a key is press on the keyboard in visual basic. The KeyDown or KeyPress message doesn't provide the information is there another way ? I know the OnKeyDown Message in win32 using VC++ provide such information but where can i find it in VB ??
Thanx
Charles
-
February 20th, 2000, 01:19 AM
#2
Re: How to get then scan code value of key ?
The first parameter (KeyCode) of the KeyDown and KeyUp events is the scan code of the key that was pressed (not to be confused with the ASCII value of the key returned by the KeyPress event). The second parameter "shift" is used to determine the state of the shift key when the KeyUp or KeyDown event fired.
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
|