|
-
Nov 16th, 2000, 01:29 PM
#1
Thread Starter
New Member
I'm trying to trap these key strokes - VB Books online tells me that vbKeyReturn has a value of 13 and vbKeySepartor 108. But all I can get is 13. any Ideas
-
Nov 16th, 2000, 01:53 PM
#2
transcendental analytic
What event do you use to catch it? I bet it's Keypress, you should use Keydown
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 16th, 2000, 03:00 PM
#3
Fanatic Member
The ANSI communications standard says that ASCII value 13 (=0Dh) represents the carriage return command.
It is commonly used in combination with Line Feed (ASCII 10 or 0Ah), giving us a common CR+LF sequence (=0D0Ah).
-
Nov 16th, 2000, 03:35 PM
#4
Mad Compie is correct. If you open your file in a Binary Editor, you'll see both 13 and 10.
-
Nov 16th, 2000, 05:07 PM
#5
transcendental analytic
I thought we were talking about key codes, not ascii codes, well uh i tried myself and getasynkeystate seems not to recognize 108 i've tried all keys
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 20th, 2000, 01:27 PM
#6
Fanatic Member
True, VK_SEPARATOR should normally by the Enter key in the numerical key zone, but I could not simulate this code anyway.
-
Nov 20th, 2000, 02:07 PM
#7
transcendental analytic
might be it's obsolete and only exists for backward compability or something
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 20th, 2000, 02:59 PM
#8
Fanatic Member
Yes, or for some other type of keyboard than we are using...
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
|