SendKeys & the numeric keypad 
Author Message
 SendKeys & the numeric keypad

I am trying to send numeric keystrokes to an application
that distinguishes between the numbers on the main part of
the keyboard and those on the numeric keypad.  Does anyone
know of a way to send the numbers from the keypad?
(My application is a phone dialer and the numbers sent
with Sendkeys choose a line number as opposed to dialing a
number for which you need to use the keypad.)  If not
Sendkeys, is there an API function?


Wed, 14 Sep 2005 02:03:05 GMT  
 SendKeys & the numeric keypad
Have a look in help, search for 'Keycode constants' (or just use the ones below :-))

vbKeyNumpad0 0x60 0 key
vbKeyNumpad1 0x61 1 key
vbKeyNumpad2 0x62 2 key
vbKeyNumpad3 0x63 3 key
vbKeyNumpad4 0x64 4 key
vbKeyNumpad5 0x65 5 key
vbKeyNumpad6 0x66 6 key
vbKeyNumpad7 0x67 7 key
vbKeyNumpad8 0x68 8 key
vbKeyNumpad9 0x69 9 key

Jacques

I am trying to send numeric keystrokes to an application
that distinguishes between the numbers on the main part of
the keyboard and those on the numeric keypad.  Does anyone
know of a way to send the numbers from the keypad?
(My application is a phone dialer and the numbers sent
with Sendkeys choose a line number as opposed to dialing a
number for which you need to use the keypad.)  If not
Sendkeys, is there an API function?



Wed, 14 Sep 2005 03:12:48 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. SendKeys & the numeric keypad - revised

2. SendKeys - Numeric Keypad

3. Using Sendkeys to send numeric keypad keys (VB5)

4. Using numbers from the numeric keypad?

5. Enter key on the numeric keypad

6. How to detect numeric keypad

7. Custom Numeric Keypad

8. SendKeys Keypad #'s

9. Keypad #'s using Sendkeys

10. HOWTO: Use Sendkeys to send the numeric plus sign

11. Routine to transform a Numeric into a non Numeric

12. Assign a numeric variable to a numeric field name

 

 
Powered by phpBB® Forum Software