|
-
Mar 11th, 2000, 07:46 PM
#1
Thread Starter
Hyperactive Member
I want to be able to have my program run in the background and the user can press function keys my program will react to.
I am able to do it if my program is the active one but not when the user has clicked onto another program.
Thanks for you help in advance...
-
Mar 11th, 2000, 10:46 PM
#2
New Member
use the API getasynckeystate...
add a timer , set interval to 1 millisecs
then execute getasynckeystate ( keycode ) to test whether that specific key is pressed
( the API entry is in the api viewer... )
-
Mar 12th, 2000, 01:02 AM
#3
Thread Starter
Hyperactive Member
Thank you... That worked Just Fine!!!
-
Mar 12th, 2000, 04:36 AM
#4
New Member
Im making a similer program I have VB3 could you tell me how to use the API?
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
|