Need help + advise (KeyPress + API's) 
Author Message
 Need help + advise (KeyPress + API's)

Hi Tooper:

Quote:
> I was wondering how I could send a keypress event to my form without
> actually coding the _KeyPress( ) sub.

Have a look in the docs under "SendKeys" -- you could trap the key
combination you want to change, cancel the KeyCode, then use SendKeys to
send the new combination.

HTH,

--
Doug Marquardt (VB MVP)



Sat, 29 Jun 2002 03:00:00 GMT  
 Need help + advise (KeyPress + API's)
Hi;

I was wondering how I could send a keypress event to my form without
actually coding the _KeyPress( ) sub.
and what I mean is, let's say i want to enable the user to drop down a
combo box by just coding one key for it , that would act as if they
pressed (alt+down)
or to highlight a line i want them to press (->) instead of Ctrl+End

and the other thing is...
are API calls really safe...I mean the last time i used and API call on
my form it did strange things to other applications on my machine....
and it never happened before....

thanks in advance

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!



Sat, 29 Jun 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help + advise (KeyPress + API's)

2. BitBlt API function..... Need some advise here

3. !!Need Help with Keypress events Please help!

4. Need expert advise on locking....help

5. Help: Need advise with declaring database!

6. Please help, I need your advise

7. Need help + advise

8. Need expert advise on locking....help

9. Help: Need advise on turning VB Addin into Excel Addin

10. I need help with VB and winsock API's

11. Help needed with API's

12. Need Help Using API's.

 

 
Powered by phpBB® Forum Software